rename libjpeg to jpeg (match source name), cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8626 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
583aeece10
commit
401cdadfee
@ -45,6 +45,10 @@ define Package/jpeg-tools
|
|||||||
TITLE+= manipulation tools
|
TITLE+= manipulation tools
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_ARGS += \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-static \
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
# replace the old upstream libtool stuff with our own
|
# replace the old upstream libtool stuff with our own
|
||||||
@ -54,20 +58,17 @@ define Build/Prepare
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default,)
|
||||||
--enable-shared \
|
|
||||||
--enable-static \
|
|
||||||
)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
mkdir -p $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
LIBTOOL="./libtool --tag=CC" \
|
||||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
all install-headers install-lib install \
|
all install install-headers install-lib
|
||||||
LIBTOOL="./libtool --tag=CC"
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
@ -80,8 +81,7 @@ define Build/InstallDev
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
rm -rf \
|
rm -rf $(STAGING_DIR)/usr/include/jpeg{int,lib}.h \
|
||||||
$(STAGING_DIR)/usr/include/jpeg{int,lib}.h \
|
|
||||||
$(STAGING_DIR)/usr/include/j{config,error,morecfg}.h \
|
$(STAGING_DIR)/usr/include/j{config,error,morecfg}.h \
|
||||||
$(STAGING_DIR)/usr/lib/libjpeg.{a,so*}
|
$(STAGING_DIR)/usr/lib/libjpeg.{a,so*}
|
||||||
endef
|
endef
|
Loading…
x
Reference in New Issue
Block a user