summaryrefslogtreecommitdiff
path: root/package/libogg
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/libogg
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/libogg')
-rw-r--r--package/libogg/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/package/libogg/Makefile b/package/libogg/Makefile
index 473812746..eb78bf83f 100644
--- a/package/libogg/Makefile
+++ b/package/libogg/Makefile
@@ -5,28 +5,20 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libogg
PKG_VERSION:= 1.1.3
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= eaf7dc6ebbff30975de7527a80831585
PKG_DESCR:= The Ogg bitstream handling library
PKG_SECTION:= libs
PKG_URL:= http://www.xiph.org/ogg
PKG_SITES:= http://downloads.xiph.org/releases/ogg/
-
-PKG_SUBPKGS:= LIBOGG LIBOGG_DEV
-PKGSD_LIBOGG_DEV:= development files for libogg
-PKGSC_LIBOGG_DEV:= devel
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBOGG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBOGG_DEV,libogg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBOGG_DEV},${PKGSC_LIBOGG_DEV}))
+$(eval $(call PKG_template,LIBOGG,libogg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-post-install:
+libogg-install:
${INSTALL_DIR} ${IDIR_LIBOGG}/usr/lib
${CP} ${WRKINST}/usr/lib/libogg.so* ${IDIR_LIBOGG}/usr/lib
-libogg-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBOGG_DEV}/usr/include/ogg
- ${CP} ${WRKINST}/usr/include/ogg/*.h ${IDIR_LIBOGG_DEV}/usr/include/ogg
-
include ${TOPDIR}/mk/pkg-bottom.mk