Browse Source

- libbdplus: bump version to 0.2.0; rework build

master
vanhofen 3 years ago
parent
commit
732cfee405
  1. 30
      package/libbdplus/libbdplus.mk

30
package/libbdplus/libbdplus.mk

@ -4,13 +4,10 @@
#
################################################################################
LIBBDPLUS_VERSION = 0.1.2
LIBBDPLUS_VERSION = 0.2.0
LIBBDPLUS_DIR = libbdplus-$(LIBBDPLUS_VERSION)
LIBBDPLUS_SOURCE = libbdplus-$(LIBBDPLUS_VERSION).tar.bz2
LIBBDPLUS_SITE = ftp://ftp.videolan.org/pub/videolan/libbdplus/$(LIBBDPLUS_VERSION)
$(DL_DIR)/$(LIBBDPLUS_SOURCE):
$(download) $(LIBBDPLUS_SITE)/$(LIBBDPLUS_SOURCE)
LIBBDPLUS_SITE = https://download.videolan.org/pub/videolan/libbdplus/$(LIBBDPLUS_VERSION)
LIBBDPLUS_DEPENDENCIES = libaacs
@ -18,16 +15,17 @@ LIBBDPLUS_CONF_OPTS = \
--enable-shared \
--disable-static
libbdplus: $(LIBBDPLUS_DEPENDENCIES) $(DL_DIR)/$(LIBBDPLUS_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PKG_DIR)
$(UNTAR)/$(PKG_SOURCE)
$(CHDIR)/$(PKG_DIR); \
./bootstrap; \
$(CONFIGURE); \
$(MAKE); \
$(MAKE) install DESTDIR=$(TARGET_DIR)
$(REWRITE_LIBTOOL)
define LIBBDPLUS_BOOTSTRAP
$(CHDIR)/$($(PKG)_DIR); \
./bootstrap
endef
LIBBDPLUS_POST_PATCH_HOOKS += LIBBDPLUS_BOOTSTRAP
define LIBBDPLUS_INSTALL_FILES
$(INSTALL) -d $(TARGET_DIR)/.config/bdplus/vm0
$(INSTALL_COPY) $(PKG_FILES_DIR)/* $(TARGET_DIR)/.config/bdplus/vm0
$(REMOVE)/$(PKG_DIR)
$(TOUCH)
endef
LIBBDPLUS_TARGET_FINALIZE_HOOKS += LIBBDPLUS_INSTALL_FILES
libbdplus: | $(TARGET_DIR)
$(call autotools-package)

Loading…
Cancel
Save