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/libgd | |
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/libgd')
-rw-r--r-- | package/libgd/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/package/libgd/Makefile b/package/libgd/Makefile index 79f40aec1..02eeef9a3 100644 --- a/package/libgd/Makefile +++ b/package/libgd/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= gd PKG_VERSION:= 2.0.35 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 982963448dc36f20cb79b6e9ba6fdede PKG_DESCR:= A library for the dynamic creation of images PKG_SECTION:= libs @@ -13,17 +13,12 @@ PKG_DEPENDS:= libjpeg libpng PKG_BUILDDEP:= libpng jpeg PKG_URL:= http://www.libgd.org/ PKG_SITES:= http://www.libgd.org/releases/ - -PKG_SUBPKGS:= LIBGD LIBGD_DEV -PKGSC_LIBGD_DEV:= devel -PKGSD_LIBGD_DEV:= libgd headers +PKG_OPTS:= dev include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBGD_DEV,libgd-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGD_DEV},${PKGSC_LIBGD_DEV})) +$(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -#CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_TARGET_DIR}/usr/bin/libpng12-config" CONFIGURE_ARGS+= --without-x \ --without-freetype \ --with-jpeg=${STAGING_TARGET_DIR}/usr \ @@ -34,8 +29,4 @@ libgd-install: ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib ${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib -libgd-dev-install: - ${INSTALL_DIR} ${IDIR_LIBGD_DEV}/usr/include - ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBGD_DEV}/usr/include - include ${TOPDIR}/mk/pkg-bottom.mk |