summaryrefslogtreecommitdiff
path: root/package/libpciaccess/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libpciaccess/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libpciaccess/Makefile')
-rw-r--r--package/libpciaccess/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libpciaccess/Makefile b/package/libpciaccess/Makefile
index e603ac6ab..8b598d792 100644
--- a/package/libpciaccess/Makefile
+++ b/package/libpciaccess/Makefile
@@ -5,32 +5,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libpciaccess
PKG_VERSION:= 0.13.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 3a95b70913621840bf8af616ea01d7d9
PKG_DESCR:= X.org PCI access library
PKG_SECTION:= x11/libs
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBPCIACCESS LIBPCIACCESS_DEV
-PKGSD_LIBPCIACCESS_DEV:=X.org PCI access headers
-PKGSC_LIBPCIACCESS_DEV:=devel
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBPCIACCESS,libpciaccess,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBPCIACCESS_DEV,libpciaccess-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPCIACCESS_DEV},${PKGSC_LIBPCIACCESS_DEV}))
+$(eval $(call PKG_template,LIBPCIACCESS,libpciaccess,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libpciaccess-install:
${INSTALL_DIR} ${IDIR_LIBPCIACCESS}/usr/lib
${CP} ${WRKINST}/usr/lib/libpciaccess.so* \
${IDIR_LIBPCIACCESS}/usr/lib
-libpciaccess-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBPCIACCESS_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/pciaccess.h \
- ${IDIR_LIBPCIACCESS_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBPCIACCESS_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/pciaccess.pc \
- ${IDIR_LIBPCIACCESS_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk