diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
commit | 90d5c8b73e8d538e121275b12e714332ca785cff (patch) | |
tree | b70121e4732d658097d1db00c8af381629ec82eb /package/jpeg/Makefile | |
parent | 33dd541790614765228a71477e1f8b2b6aa21ce1 (diff) |
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/jpeg/Makefile')
-rw-r--r-- | package/jpeg/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/package/jpeg/Makefile b/package/jpeg/Makefile index 6354371b7..04eed7b3d 100644 --- a/package/jpeg/Makefile +++ b/package/jpeg/Makefile @@ -5,34 +5,26 @@ include ${TOPDIR}/rules.mk PKG_NAME:= jpeg PKG_VERSION:= 8d -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 52654eb3b2e60c35731ea8fc87f1bd29 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 LIBJPEG_DEV -PKGSD_LIBJPEG_DEV:= development files for libjpeg -PKGSC_LIBJPEG_DEV:= devel +PKG_OPTS:= dev DISTFILES:= ${PKG_NAME}src.v${PKG_VERSION}.tar.gz ifeq ($(ADK_STATIC),y) -PKG_OPTS:= libonly +PKG_OPTS+= libonly 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,LIBJPEG_DEV,libjpeg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBJPEG_DEV},${PKGSC_LIBJPEG_DEV})) libjpeg-install: ${INSTALL_DIR} ${IDIR_LIBJPEG}/usr/lib ${CP} ${WRKINST}/usr/lib/libjpeg.so* ${IDIR_LIBJPEG}/usr/lib/ -libjpeg-dev-install: - ${INSTALL_DIR} ${IDIR_LIBJPEG_DEV}/usr/include - ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBJPEG_DEV}/usr/include - include ${TOPDIR}/mk/pkg-bottom.mk |