Changeset 35655


Ignore:
Timestamp:
2013-02-18T10:59:34+01:00 (5 years ago)
Author:
florian
Message:

libjpeg-turbo: add package for test utils, move appropriate targets there

Trying to figure out where jpeggut came from, found a) that it was a
typo and b) that it was renamed in r643 from jpegut to tjunittest. In
the same revision, jpegtest became tjbench, and later in r733, jcstest
was added to test jpeg color space extentions. Since these tools will
only be desirable for testing, added a new package libjpeg-turbo-tests
to provide these utilities. The utilities needed libturbojpeg, so
added what had been a commented out library to the new package.

The libturbojpeg are currently commented out in InstallDev as well.
If external packages begin to rely on libturbojpeg functions for some
reason, the library should be added back.

Signed-off-by: Russell Senior <russell@…>
Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libjpeg-turbo/Makefile

    r35182 r35655  
    1010PKG_NAME:=libjpeg-turbo 
    1111PKG_VERSION:=1.2.1 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    4444endef 
    4545 
     46define Package/libjpeg-turbo-tests 
     47  $(call Package/libjpeg-turbo/Default) 
     48  SECTION:=utils 
     49  CATEGORY:=Utilities 
     50  DEPENDS:=+libjpeg-turbo 
     51  TITLE+= testing utilities 
     52endef 
     53 
    4654TARGET_CFLAGS += $(FPIC) 
    4755 
     
    7078        $(INSTALL_DIR) $(1)/usr/lib 
    7179        $(CP) $(PKG_BUILD_DIR)/.libs/libjpeg.{a,so*} $(1)/usr/lib/ 
    72 #       $(CP) $(PKG_BUILD_DIR)/.libs/libturbojpeg.{a,so*} $(1)/usr/lib/ 
    7380endef 
    7481 
     
    7683        $(INSTALL_DIR) $(1)/usr/bin 
    7784        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/{c,d}jpeg $(1)/usr/bin/ 
    78         $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpeg{tran,gut} $(1)/usr/bin/ 
     85        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpegtran $(1)/usr/bin/ 
    7986        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/{rd,wr}jpgcom $(1)/usr/bin/ 
    80         $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jpgtest $(1)/usr/bin/ 
     87endef 
     88 
     89define Package/libjpeg-turbo-tests/install 
     90        $(INSTALL_DIR) $(1)/usr/bin 
     91        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/tjbench $(1)/usr/bin 
     92        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/tjunittest $(1)/usr/bin 
     93        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/jcstest $(1)/usr/bin 
     94        $(INSTALL_DIR) $(1)/usr/lib 
     95        $(CP) $(PKG_BUILD_DIR)/.libs/libturbojpeg.{a,so*} $(1)/usr/lib/ 
    8196endef 
    8297 
     
    8499$(eval $(call BuildPackage,libjpeg-turbo)) 
    85100$(eval $(call BuildPackage,jpeg-tools)) 
     101$(eval $(call BuildPackage,libjpeg-turbo-tests)) 
Note: See TracChangeset for help on using the changeset viewer.