From dd4751a2a6492cac87d3a6bb002bb99e06ecd86a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 16:24:07 +0200 Subject: [PATCH] Added libogg-1.1.3 template. --HG-- extra : convert_revision : 06b40e0cadc65341adf5910e7680fca409855990 --- templates/libogg-devel | 1 + templates/libogg/depends | 2 ++ templates/libogg/devel.template | 18 ++++++++++++++++++ templates/libogg/template | 16 ++++++++++++++++ 4 files changed, 37 insertions(+) create mode 120000 templates/libogg-devel create mode 100644 templates/libogg/depends create mode 100644 templates/libogg/devel.template create mode 100644 templates/libogg/template diff --git a/templates/libogg-devel b/templates/libogg-devel new file mode 120000 index 00000000000..be34a5b4730 --- /dev/null +++ b/templates/libogg-devel @@ -0,0 +1 @@ +libogg \ No newline at end of file diff --git a/templates/libogg/depends b/templates/libogg/depends new file mode 100644 index 00000000000..981eb3f1e5a --- /dev/null +++ b/templates/libogg/depends @@ -0,0 +1,2 @@ +abi_depends=1.1.3 +api_depends=${abi_depends} diff --git a/templates/libogg/devel.template b/templates/libogg/devel.template new file mode 100644 index 00000000000..a585c3a64f0 --- /dev/null +++ b/templates/libogg/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libogg-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libogg + +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/libogg/template b/templates/libogg/template new file mode 100644 index 00000000000..19656249dce --- /dev/null +++ b/templates/libogg/template @@ -0,0 +1,16 @@ +# Template file for 'libogg'. +pkgname=libogg +sourcepkg=$pkgname +version=1.1.3 +distfiles="http://downloads.xiph.org/releases/ogg/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="The Ogg bitstream file format library" +maintainer="pancake " +checksum=bae29e79fbc50bbedf1235852094b71c8c910a1ef0cd42fe4163b7b545630b65 +long_desc=" + Libogg is a library for manipulating Ogg bitstream file formats. + Libogg supports both making Ogg bitstreams and getting packets from + Ogg bitstreams." + +subpackages="devel" +Add_dependency full glibc