wok-6.x annotate flac/receipt @ rev 3182
Up: spandsp-dev (0.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 26 11:18:47 2009 +0200 (2009-05-26) |
parents | 788eb14d270a |
children | 1a3abaa653cc |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
pankso@2015 | 4 VERSION="1.2.1" |
pankso@292 | 5 CATEGORY="multimedia" |
pankso@292 | 6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec." |
pankso@292 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@292 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1451 | 9 DEPENDS="libogg" |
pascal@1451 | 10 BUILD_DEPENDS="libogg-dev" |
pankso@292 | 11 WEB_SITE="http://flac.sourceforge.net/" |
pankso@292 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@292 | 13 |
pankso@292 | 14 # Rules to configure and make the package. |
pankso@292 | 15 compile_rules() |
pankso@292 | 16 { |
pankso@292 | 17 cd $src |
pankso@292 | 18 ./configure \ |
pankso@292 | 19 --prefix=/usr \ |
pankso@292 | 20 --mandir=/usr/share/man \ |
pascal@1451 | 21 $CONFIGURE_ARGS && |
pascal@1451 | 22 make && |
pankso@292 | 23 make DESTDIR=$PWD/_pkg install |
pankso@292 | 24 } |
pankso@292 | 25 |
pankso@292 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 27 genpkg_rules() |
pankso@292 | 28 { |
pankso@292 | 29 mkdir -p $fs/usr/lib |
pankso@292 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@292 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 32 } |
pankso@292 | 33 |