From 7609bac5c74d25c03ff519b1e171de947cf6d183 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 16:37:27 +0200 Subject: [PATCH] Added libvorbis-1.2.1rc1 template. --HG-- extra : convert_revision : 27e1ae4c9b3580f27bcbe5fab894d3247464ab05 --- templates/libvorbis-devel | 1 + templates/libvorbis/depends | 2 ++ templates/libvorbis/devel.template | 18 ++++++++++++++++++ templates/libvorbis/template | 21 +++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 120000 templates/libvorbis-devel create mode 100644 templates/libvorbis/depends create mode 100644 templates/libvorbis/devel.template create mode 100644 templates/libvorbis/template diff --git a/templates/libvorbis-devel b/templates/libvorbis-devel new file mode 120000 index 00000000000..31979456d0a --- /dev/null +++ b/templates/libvorbis-devel @@ -0,0 +1 @@ +libvorbis \ No newline at end of file diff --git a/templates/libvorbis/depends b/templates/libvorbis/depends new file mode 100644 index 00000000000..74d94d522f3 --- /dev/null +++ b/templates/libvorbis/depends @@ -0,0 +1,2 @@ +abi_depends=1.2.1rc1 +api_depends=${abi_depends} diff --git a/templates/libvorbis/devel.template b/templates/libvorbis/devel.template new file mode 100644 index 00000000000..68247239c27 --- /dev/null +++ b/templates/libvorbis/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libvorbis-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libvorbis + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/templates/libvorbis/template b/templates/libvorbis/template new file mode 100644 index 00000000000..f6822a2e26f --- /dev/null +++ b/templates/libvorbis/template @@ -0,0 +1,21 @@ +# Template file for 'libvorbis'. +pkgname=libvorbis +sourcepkg=$pkgname +version=1.2.1rc1 +distfiles="http://people.xiph.org/~giles/2008/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="The Vorbis General Audio Compression Codec" +maintainer="pancake " +checksum=afea086a9807f05c00a97007d2d1c0dbc361541b268b9fc01180665bb61bd7d7 +long_desc=" + Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free, + general-purpose compressed audio format for audio and music at fixed + and variable bitrates from 16 to 128 kbps/channel. + + The libvorbis package contains runtime libraries for use in programs + that support Ogg Vorbis." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency full glibc +Add_dependency full libogg