Browse Source

- giflib: rework build

master
vanhofen 3 years ago
parent
commit
40af77ad1d
  1. 13
      package/giflib/giflib.mk

13
package/giflib/giflib.mk

@ -9,15 +9,10 @@ GIFLIB_DIR = giflib-$(GIFLIB_VERSION)
GIFLIB_SOURCE = giflib-$(GIFLIB_VERSION).tar.gz GIFLIB_SOURCE = giflib-$(GIFLIB_VERSION).tar.gz
GIFLIB_SITE = https://sourceforge.net/projects/giflib/files GIFLIB_SITE = https://sourceforge.net/projects/giflib/files
$(DL_DIR)/$(GIFLIB_SOURCE): giflib: | $(TARGET_DIR)
$(download) $(GIFLIB_SITE)/$(GIFLIB_SOURCE) $(call PREPARE)
$(CHDIR)/$($(PKG)_DIR); \
giflib: $(DL_DIR)/$(GIFLIB_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PKG_DIR)
$(UNTAR)/$(PKG_SOURCE)
$(CHDIR)/$(PKG_DIR); \
$(TARGET_CONFIGURE_ENV) \ $(TARGET_CONFIGURE_ENV) \
$(MAKE); \ $(MAKE); \
$(MAKE) install-include install-lib DESTDIR=$(TARGET_DIR) PREFIX=$(prefix) $(MAKE) install-include install-lib DESTDIR=$(TARGET_DIR) PREFIX=$(prefix)
$(REMOVE)/$(PKG_DIR) $(call TARGET_FOLLOWUP)
$(TOUCH)

Loading…
Cancel
Save