wok-current annotate cdparanoia-III/receipt @ rev 6267
Up: freeciv to 2.2.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 14 19:13:02 2010 +0000 (2010-09-14) |
parents | 582a423f48ae |
children | 3a9b5ecc8d59 |
rev | line source |
---|---|
pankso@101 | 1 # SliTaz package receipt. |
pankso@101 | 2 |
pankso@101 | 3 PACKAGE="cdparanoia-III" |
pankso@2014 | 4 VERSION="10.2" |
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 |
pascal@6113 | 16 grep -qs 'define u8' interface/low_interface.h || |
pascal@6113 | 17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6113 | 18 interface/low_interface.h |
pankso@101 | 19 ./configure \ |
pankso@101 | 20 --prefix=/usr \ |
pankso@101 | 21 --infodir=/usr/share/info \ |
pankso@2014 | 22 --mandir=/usr/share/man && |
pankso@101 | 23 make |
pankso@101 | 24 } |
pankso@101 | 25 |
pankso@101 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@101 | 27 genpkg_rules() |
pankso@101 | 28 { |
pankso@101 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@116 | 30 cp -a $src/cdparanoia $fs/usr/bin |
pankso@101 | 31 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib |
pankso@101 | 32 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib |
pankso@101 | 33 } |