wok-6.x annotate cdparanoia-III/receipt @ rev 10635

openjdk-6-src: it a meta packe to get jdk source
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 23:57:08 2011 +0200 (2011-05-26)
parents 3a9b5ecc8d59
children 223b265f40fd
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
gokhlayeh@8132 16 fgrep -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 \
slaxemulator@10287 22 --mandir=/usr/share/man \
slaxemulator@10287 23 $CONFIGURE_ARGS &&
gokhlayeh@8132 24 make -j1
pankso@101 25 }
pankso@101 26
pankso@101 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@101 28 genpkg_rules()
pankso@101 29 {
pankso@101 30 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@116 31 cp -a $src/cdparanoia $fs/usr/bin
pankso@101 32 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
pankso@101 33 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
pankso@101 34 }