wok-next annotate libcdio/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents 964f5d384827
children 7f37d33e799b
rev   line source
jozee@2663 1 # SliTaz package receipt.
jozee@2663 2
jozee@2663 3 PACKAGE="libcdio"
slaxemulator@6153 4 VERSION="0.82"
jozee@2663 5 CATEGORY="multimedia"
jozee@2663 6 SHORT_DESC="GNU Compact Disc Input and Control Library"
jozee@2663 7 MAINTAINER="rj.rohit@gmail.com"
pascal@5003 8 DEPENDS="libcddb ncurses gcc-lib-base"
jozee@2663 9 BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
jozee@2663 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2663 11 WEB_SITE="http://www.gnu.org/software/libcdio/"
jozee@2663 12 WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
jozee@2663 13
jozee@2663 14 # Rules to configure and make the package.
jozee@2663 15 compile_rules()
jozee@2663 16 {
jozee@2663 17 cd $src
pascal@6113 18 grep -qs 'define u8' lib/driver/gnu_linux.c ||
pascal@6113 19 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 20 lib/driver/gnu_linux.c
pascal@5003 21 ./configure --prefix=/usr --disable-vcd-info &&
pascal@5003 22 make &&
jozee@2663 23 make DESTDIR=$PWD/_pkg install
jozee@2663 24 }
jozee@2663 25
jozee@2663 26 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2663 27 genpkg_rules()
jozee@2663 28 {
jozee@2663 29 mkdir -p $fs/usr/lib
jozee@2663 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2663 31
jozee@2663 32 }