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/libICE/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/libICE/Makefile')
-rw-r--r-- | package/libICE/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/package/libICE/Makefile b/package/libICE/Makefile index dc7860aa5..1c9f62617 100644 --- a/package/libICE/Makefile +++ b/package/libICE/Makefile @@ -5,21 +5,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libICE PKG_VERSION:= 1.0.8 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 4b8dae73fce37e994c3a6fa05d6db7ca PKG_DESCR:= Inter-Client Exchange library PKG_SECTION:= x11/libs PKG_BUILDDEP:= xtrans xproto PKG_SITES:= ${MASTER_SITE_XORG} - -PKG_SUBPKGS:= LIBICE LIBICE_DEV -PKGSD_LIBICE_DEV:= Inter-Client Exchange headers -PKGSC_LIBICE_DEV:= x11/devel +PKG_OPTS:= dev include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBICE_DEV,libice-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBICE_DEV},${PKGSC_LIBICE_DEV})) +$(eval $(call PKG_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) @@ -27,11 +23,4 @@ libice-install: ${INSTALL_DIR} ${IDIR_LIBICE}/usr/lib ${CP} ${WRKINST}/usr/lib/libICE.so* ${IDIR_LIBICE}/usr/lib -libice-dev-install: - ${INSTALL_DIR} ${IDIR_LIBICE_DEV}/usr/include - ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBICE_DEV}/usr/include - ${INSTALL_DIR} ${IDIR_LIBICE_DEV}/usr/lib/pkgconfig - ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \ - ${IDIR_LIBICE_DEV}/usr/lib/pkgconfig - include ${TOPDIR}/mk/pkg-bottom.mk |