wok annotate vorbis-tools/receipt @ rev 243
Linux: patches compatible with busybox/patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 22:54:56 2008 +0100 (2008-02-18) |
parents | 79c672f0fb4b |
children | 788eb14d270a |
rev | line source |
---|---|
pankso@84 | 1 # SliTaz package receipt. |
pankso@84 | 2 |
pankso@84 | 3 PACKAGE="vorbis-tools" |
pankso@84 | 4 VERSION="1.1.1" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@84 | 6 SHORT_DESC="Vorbis encoder, decoder and tiny tools." |
pankso@84 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@84 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@84 | 9 WEB_SITE="http://www.vorbis.com/" |
pankso@84 | 10 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL" |
pankso@84 | 11 |
pankso@84 | 12 # Rules to configure and make the package. |
pankso@84 | 13 compile_rules() |
pankso@84 | 14 { |
pankso@84 | 15 cd $src |
pankso@84 | 16 ./configure \ |
pankso@84 | 17 --prefix=/usr \ |
pankso@84 | 18 --mandir=/usr/share/man \ |
pankso@84 | 19 $CONFIGURE_ARGS |
pankso@84 | 20 make |
pankso@84 | 21 make DESTDIR=$PWD/_pkg install |
pankso@84 | 22 } |
pankso@84 | 23 |
pankso@84 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@84 | 25 genpkg_rules() |
pankso@84 | 26 { |
pankso@84 | 27 mkdir -p $fs/usr/share/locale |
pankso@84 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@84 | 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@84 | 30 strip -s $fs/usr/bin/* |
pankso@84 | 31 } |
pankso@84 | 32 |