summaryrefslogtreecommitdiff
path: root/package/libvorbis
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/libvorbis
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/libvorbis')
-rw-r--r--package/libvorbis/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/libvorbis/Makefile b/package/libvorbis/Makefile
index 0c301c634..91035bd8f 100644
--- a/package/libvorbis/Makefile
+++ b/package/libvorbis/Makefile
@@ -5,23 +5,21 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libvorbis
PKG_VERSION:= 1.2.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 478646358c49f34aedcce58948793619
PKG_DESCR:= Vorbis General Audio Compression Codec library
PKG_SECTION:= libs
PKG_BUILDDEP:= libogg
PKG_URL:= http://www.xiph.org/vorbis/
PKG_SITES:= http://downloads.xiph.org/releases/vorbis/
+PKG_OPTS:= dev
-PKG_SUBPKGS:= LIBVORBIS LIBVORBISENC LIBVORBIS_DEV
-PKGSD_LIBVORBIS_DEV:= development files for libvorbis
-PKGSC_LIBVORBIS_DEV:= devel
+PKG_SUBPKGS:= LIBVORBIS LIBVORBISENC
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBVORBISENC,libvorbisenc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBVORBIS_DEV,libvorbis-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBVORBIS_DEV},${PKGSC_LIBVORBIS_DEV}))
CONFIGURE_ENV+= LIBS="-lm -logg"
CONFIGURE_ARGS+= --with-ogg="${STAGING_TARGET_DIR}/usr" \
@@ -37,8 +35,4 @@ libvorbisenc-install:
${INSTALL_DIR} ${IDIR_LIBVORBISENC}/usr/lib
${CP} ${WRKINST}/usr/lib/libvorbisenc.so* ${IDIR_LIBVORBISENC}/usr/lib
-libvorbis-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBVORBIS_DEV}/usr/include/vorbis
- ${CP} ${WRKINST}/usr/include/vorbis/*.h ${IDIR_LIBVORBIS_DEV}/usr/include/vorbis
-
include ${TOPDIR}/mk/pkg-bottom.mk