diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-27 00:43:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-27 00:43:04 +0100 |
commit | db40ed98b297d0550c6971b096c87bf0debf59b1 (patch) | |
tree | 39bb950b98c4ca6292ce2850cd889c9ca1fd9eb6 /package/jpeg | |
parent | 45805efcda653a3e6d7577ac2956c8138b49c7fc (diff) | |
parent | 83e2707a887a4c495a42f7e59f9f332df6b759ab (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/jpeg')
-rw-r--r-- | package/jpeg/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/package/jpeg/Makefile b/package/jpeg/Makefile index 4b91d88b3..2ab0d4941 100644 --- a/package/jpeg/Makefile +++ b/package/jpeg/Makefile @@ -5,14 +5,16 @@ include ${TOPDIR}/rules.mk PKG_NAME:= jpeg PKG_VERSION:= 7 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 382ef33b339c299b56baf1296cda9785 PKG_DESCR:= The Independent JPEG Groups JPEG runtime library PKG_SECTION:= libs PKG_URL:= http://www.ijg.org/ PKG_SITES:= http://www.ijg.org/files/ -PKG_SUBPKGS:= LIBJPEG +PKG_SUBPKGS:= LIBJPEG JPEG_DEV +PKGSD_JPEG_DEV:= development files for jpeg +PKGSC_JPEG_DEV:= devel DISTFILES:= ${PKG_NAME}src.v${PKG_VERSION}.tar.gz @@ -23,9 +25,18 @@ endif include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBJPEG,libjpeg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,JPEG_DEV,libjpeg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_JPEG_DEV},${PKGSC_JPEG_DEV})) -post-install: +SUB_INSTALLS-y:= +SUB_INSTALLS-m:= +SUB_INSTALLS-${ADK_PACKAGE_JPEG_DEV}+= jpeg-dev-install + +post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y} ${INSTALL_DIR} ${IDIR_LIBJPEG}/usr/lib ${CP} ${WRKINST}/usr/lib/libjpeg.so* ${IDIR_LIBJPEG}/usr/lib/ +jpeg-dev-install: + ${INSTALL_DIR} ${IDIR_JPEG_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/*.h ${IDIR_JPEG_DEV}/usr/include + include ${TOPDIR}/mk/pkg-bottom.mk |