wok-4.x annotate cdparanoia-III/receipt @ rev 1206

postfix: fix perms
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 08 22:09:48 2008 +0000 (2008-08-08)
parents 1b129a8fd309
children 582a423f48ae
rev   line source
pankso@101 1 # SliTaz package receipt.
pankso@101 2
pankso@101 3 PACKAGE="cdparanoia-III"
pankso@101 4 VERSION="10pre0"
pankso@177 5 CATEGORY="multimedia"
pankso@101 6 SHORT_DESC="CMDline CD ripper used by Asunder."
pankso@101 7 MAINTAINER="pankso@slitaz.org"
pankso@101 8 TARBALL="$PACKAGE-$VERSION.src.tgz"
pankso@101 9 WEB_SITE="http://www.xiph.org/paranoia/"
pankso@101 10 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
pankso@101 11
pankso@101 12 # Rules to configure and make the package.
pankso@101 13 compile_rules()
pankso@101 14 {
pankso@101 15 cd $src
pankso@101 16 ./configure \
pankso@101 17 --prefix=/usr \
pankso@101 18 --infodir=/usr/share/info \
pankso@101 19 --mandir=/usr/share/man
pankso@101 20 make
pankso@101 21 }
pankso@101 22
pankso@101 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@101 24 genpkg_rules()
pankso@101 25 {
pankso@101 26 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@101 27
pankso@116 28 cp -a $src/cdparanoia $fs/usr/bin
pankso@101 29 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
pankso@101 30 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
pankso@101 31
pankso@101 32 strip -s $fs/usr/lib/* 2>/dev/null
pankso@101 33 strip -s $fs/usr/bin/* 2>/dev/null
pankso@101 34 }