summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-20 19:32:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-20 19:32:15 +0200
commit017e23b3782f10f62058047cfbd7d9b35c191168 (patch)
treeb1e52f169a11b6ea3b00797a56e6a0ba60e528bb /package
parent8147baaa25d586d4402455a5176edb192083a2ea (diff)
add devel package
Diffstat (limited to 'package')
-rw-r--r--package/cups/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile
index 762f1832a..6a36d424a 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -17,9 +17,13 @@ PKG_NEED_CXX:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
+PKG_SUBPKGS:= CUPS CUPS_DEV
+PKGSC_CUPS_DEV:= devel
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,CUPS_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_CUPS_DEV}))
CONFIGURE_ENV+= ac_cv_func_sigset=no \
OPTIM='-fPIC'
@@ -80,4 +84,8 @@ post-install:
${CP} ${WRKINST}/usr/sbin/* ${IDIR_CUPS}/usr/sbin/
${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/
+cups-dev-install:
+ ${INSTALL_DIR} ${IDIR_CUPS_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_CUPS_DEV}/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk