Add crop features, and build jpeg tools, closes #665
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4629 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c1873da2ce
commit
062fa289b5
@ -31,17 +31,26 @@ define Package/libjpeg
|
||||
URL:=http://www.ijg.org/
|
||||
endef
|
||||
|
||||
define Package/jpeg-tools
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=libjpeg
|
||||
TITLE:=JPEG manipulation tools
|
||||
DESCRIPTION:=JPEG manipulation tools
|
||||
URL:=http://www.ijg.org/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--disable-shared --enable-static)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)/usr/{include,lib}
|
||||
mkdir -p $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
all install-headers install-lib
|
||||
all install-headers install-lib install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
@ -59,4 +68,10 @@ define Build/UninstallDev
|
||||
$(STAGING_DIR)/usr/lib/libjpeg.{a,so*}
|
||||
endef
|
||||
|
||||
define Package/jpeg-tools/install
|
||||
install -m0755 -d $(1)/usr/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/*jpeg* $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libjpeg))
|
||||
$(eval $(call BuildPackage,jpeg-tools))
|
||||
|
1896
libs/libjpeg/patches/200-crop.patch
Normal file
1896
libs/libjpeg/patches/200-crop.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user