wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcdio"
4 VERSION="0.80"
5 CATEGORY="multimedia"
6 SHORT_DESC="GNU Compact Disc Input and Control Library"
7 MAINTAINER="rj.rohit@gmail.com"
8 DEPENDS="libcddb ncurses gcc-lib-base"
9 BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/libcdio/"
12 WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 grep -qs 'define u8' lib/driver/gnu_linux.c ||
19 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
20 lib/driver/gnu_linux.c
21 ./configure --prefix=/usr --disable-vcd-info &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }