From c4e63c837af2c8206cb992a11bf3ada64feb6f9a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 23:06:02 +0100 Subject: [PATCH] Added lame-3.98.2 build template. --HG-- extra : convert_revision : d29c977eb04aef29b315b180b428aec7ae32842a --- srcpkgs/lame-devel | 1 + srcpkgs/lame/depends | 2 ++ srcpkgs/lame/lame-devel.template | 17 +++++++++++++++++ srcpkgs/lame/template | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 120000 srcpkgs/lame-devel create mode 100644 srcpkgs/lame/depends create mode 100644 srcpkgs/lame/lame-devel.template create mode 100644 srcpkgs/lame/template diff --git a/srcpkgs/lame-devel b/srcpkgs/lame-devel new file mode 120000 index 00000000000..044c19ddc87 --- /dev/null +++ b/srcpkgs/lame-devel @@ -0,0 +1 @@ +lame \ No newline at end of file diff --git a/srcpkgs/lame/depends b/srcpkgs/lame/depends new file mode 100644 index 00000000000..3e37215ff51 --- /dev/null +++ b/srcpkgs/lame/depends @@ -0,0 +1,2 @@ +abi_depends=">=3.98.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/lame/lame-devel.template b/srcpkgs/lame/lame-devel.template new file mode 100644 index 00000000000..23274f37e8c --- /dev/null +++ b/srcpkgs/lame/lame-devel.template @@ -0,0 +1,17 @@ +# Template file for 'lame-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run lame + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/lame/template b/srcpkgs/lame/template new file mode 100644 index 00000000000..223cbd0e6d7 --- /dev/null +++ b/srcpkgs/lame/template @@ -0,0 +1,32 @@ +# Template file for 'lame' +pkgname=lame +version=3.98.2 +_distver=398-2 +wrksrc="${pkgname}-${_distver}" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-398-2.tar.gz" +build_style=gnu_configure +configure_args="--enable-nasm --enable-shared" +short_desc="Fast, high quality MP3 encoder" +maintainer="Juan RP " +checksum=a17a28569d8ed1e514915c1f12bdf4eedac506e5fbdf9a429ba97d5d42c9af32 +long_desc=" + Following the great history of GNU naming, LAME originally stood for + LAME Ain't an Mp3 Encoder. LAME started life as a GPL'd patch against + the dist10 ISO demonstration source, and thus was incapable of + producing an mp3 stream or even being compiled by itself. But in May + 2000, the last remnants of the ISO source code were replaced, and now + LAME is the source code for a fully GPL'd MP3 encoder, with speed and + quality to rival all commercial competitors. + + LAME is an educational tool to be used for learning about MP3 + encoding. The goal of the LAME project is to use the open source model + to improve the psycho acoustics, noise shaping and speed of + MP3. Another goal of the LAME project is to use these improvements for + the basis of a patent free audio compression codec for the GNU + project." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run ncurses +Add_dependency build nasm +Add_dependency build ncurses-devel