Browse Source

- libaacs: bump version to 0.11.1; rework build

master
vanhofen 3 years ago
parent
commit
ad6b3f7814
  1. 34
      package/libaacs/libaacs.mk

34
package/libaacs/libaacs.mk

@ -4,30 +4,34 @@
# #
################################################################################ ################################################################################
LIBAACS_VERSION = 0.9.0 LIBAACS_VERSION = 0.11.1
LIBAACS_DIR = libaacs-$(LIBAACS_VERSION) LIBAACS_DIR = libaacs-$(LIBAACS_VERSION)
LIBAACS_SOURCE = libaacs-$(LIBAACS_VERSION).tar.bz2 LIBAACS_SOURCE = libaacs-$(LIBAACS_VERSION).tar.bz2
LIBAACS_SITE = ftp://ftp.videolan.org/pub/videolan/libaacs/$(LIBAACS_VERSION) LIBAACS_SITE = ftp://ftp.videolan.org/pub/videolan/libaacs/$(LIBAACS_VERSION)
$(DL_DIR)/$(LIBAACS_SOURCE):
$(download) $(LIBAACS_SITE)/$(LIBAACS_SOURCE)
LIBAACS_DEPENDENCIES = libgcrypt LIBAACS_DEPENDENCIES = libgcrypt
LIBAACS_CONF_OPTS = \ LIBAACS_CONF_OPTS = \
--disable-werror \
--disable-extra-warnings \
--disable-optimizations \
--disable-examples \
--disable-debug \
--with-gnu-ld \
--enable-shared \ --enable-shared \
--disable-static --disable-static
libaacs: $(LIBAACS_DEPENDENCIES) $(DL_DIR)/$(LIBAACS_SOURCE) | $(TARGET_DIR) define LIBAACS_BOOTSTRAP
$(REMOVE)/$(PKG_DIR) $(CHDIR)/$($(PKG)_DIR); \
$(UNTAR)/$(PKG_SOURCE) ./bootstrap
$(CHDIR)/$(PKG_DIR); \ endef
./bootstrap; \ LIBAACS_POST_PATCH_HOOKS += LIBAACS_BOOTSTRAP
$(CONFIGURE); \
$(MAKE); \ define LIBAACS_INSTALL_FILES
$(MAKE) install DESTDIR=$(TARGET_DIR)
$(REWRITE_LIBTOOL)
$(INSTALL) -d $(TARGET_DIR)/.cache/aacs/vuk $(INSTALL) -d $(TARGET_DIR)/.cache/aacs/vuk
$(INSTALL_DATA) -D $(PKG_FILES_DIR)/KEYDB.cfg $(TARGET_DIR)/.config/aacs/KEYDB.cfg $(INSTALL_DATA) -D $(PKG_FILES_DIR)/KEYDB.cfg $(TARGET_DIR)/.config/aacs/KEYDB.cfg
$(REMOVE)/$(PKG_DIR) endef
$(TOUCH) LIBAACS_TARGET_FINALIZE_HOOKS += LIBAACS_INSTALL_FILES
libaacs: | $(TARGET_DIR)
$(call autotools-package)

Loading…
Cancel
Save