wok-next view flac/receipt @ rev 1564
vanessa_adt: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 13 14:51:37 2008 +0000 (2008-10-13) |
parents | 0a5addc44b00 |
children | 1ed1357f1ef2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="libogg"
10 BUILD_DEPENDS="libogg-dev"
11 WEB_SITE="http://flac.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }