wok-6.x annotate libcdio/receipt @ rev 11113
ptlib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 25 08:48:31 2011 +0200 (2011-10-25) |
parents | 411bb3c1703c |
children | cbaef0cbe623 |
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 |
slaxemulator@11021 | 21 ./configure --prefix=/usr --disable-vcd-info \ |
slaxemulator@11021 | 22 $CONFIGURE_ARGS && |
pascal@5003 | 23 make && |
jozee@2663 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2663 | 25 } |
jozee@2663 | 26 |
jozee@2663 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2663 | 28 genpkg_rules() |
jozee@2663 | 29 { |
jozee@2663 | 30 mkdir -p $fs/usr/lib |
jozee@2663 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2663 | 32 |
jozee@2663 | 33 } |