wok-6.x annotate libcdio/receipt @ rev 6113
cdparanoia-III, cdrdao, dmraid, hal, libburn, libcdio, lshw, testdisk, udev, util-linux-ng: fix scsi/scsi.h case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 04 16:02:13 2010 +0200 (2010-09-04) |
parents | 8752c40cc534 |
children | 411bb3c1703c |
rev | line source |
---|---|
jozee@2663 | 1 # SliTaz package receipt. |
jozee@2663 | 2 |
jozee@2663 | 3 PACKAGE="libcdio" |
jozee@2663 | 4 VERSION="0.80" |
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 } |