wok-6.x annotate flac/receipt @ rev 757
busybox: misc fixes from busybox.net
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 08 07:55:34 2008 +0000 (2008-05-08) |
parents | |
children | 788eb14d270a |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
pankso@292 | 4 VERSION="1.2.0" |
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" |
pankso@292 | 9 WEB_SITE="http://flac.sourceforge.net/" |
pankso@292 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@292 | 11 |
pankso@292 | 12 # Rules to configure and make the package. |
pankso@292 | 13 compile_rules() |
pankso@292 | 14 { |
pankso@292 | 15 cd $src |
pankso@292 | 16 ./configure \ |
pankso@292 | 17 --prefix=/usr \ |
pankso@292 | 18 --mandir=/usr/share/man \ |
pankso@292 | 19 $CONFIGURE_ARGS |
pankso@292 | 20 make |
pankso@292 | 21 make DESTDIR=$PWD/_pkg install |
pankso@292 | 22 } |
pankso@292 | 23 |
pankso@292 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 25 genpkg_rules() |
pankso@292 | 26 { |
pankso@292 | 27 mkdir -p $fs/usr/lib |
pankso@292 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@292 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 30 } |
pankso@292 | 31 |