wok annotate libcdio/receipt @ rev 14449
Up: dwm (6.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:46:31 2013 +0200 (2013-04-27) |
parents | cbaef0cbe623 |
children | 4904e3d374a9 |
rev | line source |
---|---|
jozee@2663 | 1 # SliTaz package receipt. |
jozee@2663 | 2 |
jozee@2663 | 3 PACKAGE="libcdio" |
slaxemulator@12370 | 4 VERSION="0.83" |
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" |
slaxemulator@12370 | 8 DEPENDS="libcddb ncurses gcc-lib-base" |
slaxemulator@12370 | 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 } |