From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/libvorbis/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'package/libvorbis') 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 -- cgit v1.2.3