From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/libgd/Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'package/libgd/Makefile') 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 -- cgit v1.2.3