wok-current annotate cdparanoia/receipt @ rev 80
Add : cdparanoia + devel package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 30 22:56:16 2007 +0100 (2007-12-30) |
parents | |
children |
rev | line source |
---|---|
pankso@80 | 1 # SliTaz package receipt. |
pankso@80 | 2 |
pankso@80 | 3 PACKAGE="cdparanoia" |
pankso@80 | 4 VERSION="III-10pre0" |
pankso@80 | 5 CATEGORY="extra" |
pankso@80 | 6 SHORT_DESC="CMDline CD ripper used by Asunder." |
pankso@80 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@80 | 8 TARBALL="$PACKAGE-$VERSION.src.tgz" |
pankso@80 | 9 WEB_SITE="http://www.xiph.org/paranoia/" |
pankso@80 | 10 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL" |
pankso@80 | 11 |
pankso@80 | 12 # Rules to configure and make the package. |
pankso@80 | 13 compile_rules() |
pankso@80 | 14 { |
pankso@80 | 15 cd $src |
pankso@80 | 16 ./configure \ |
pankso@80 | 17 --prefix=/usr \ |
pankso@80 | 18 --infodir=/usr/share/info \ |
pankso@80 | 19 --mandir=/usr/share/man |
pankso@80 | 20 make |
pankso@80 | 21 } |
pankso@80 | 22 |
pankso@80 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@80 | 24 genpkg_rules() |
pankso@80 | 25 { |
pankso@80 | 26 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@80 | 27 |
pankso@80 | 28 cp -a $src/$PACKAGE $fs/usr/bin |
pankso@80 | 29 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib |
pankso@80 | 30 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib |
pankso@80 | 31 |
pankso@80 | 32 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@80 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@80 | 34 } |