wok annotate libcdio/receipt @ rev 16680

Up tazusb (4.2.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 18 19:16:29 2014 +0000 (2014-05-18)
parents cc496c8ab07e
children 17e313b5b9c1
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"
pascal@14714 8 LICENSE="GPL3"
jozee@2663 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2663 10 WEB_SITE="http://www.gnu.org/software/libcdio/"
jozee@2663 11 WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
jozee@2663 12
pascal@14714 13 DEPENDS="libcddb ncurses gcc-lib-base"
pascal@14714 14 BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
pascal@14714 15
jozee@2663 16 # Rules to configure and make the package.
jozee@2663 17 compile_rules()
jozee@2663 18 {
jozee@2663 19 cd $src
pascal@6113 20 grep -qs 'define u8' lib/driver/gnu_linux.c ||
pascal@6113 21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 22 lib/driver/gnu_linux.c
slaxemulator@11021 23 ./configure --prefix=/usr --disable-vcd-info \
slaxemulator@11021 24 $CONFIGURE_ARGS &&
pascal@5003 25 make &&
pascal@14714 26 make DESTDIR=$DESTDIR install
jozee@2663 27 }
jozee@2663 28
jozee@2663 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2663 30 genpkg_rules()
jozee@2663 31 {
jozee@2663 32 mkdir -p $fs/usr/lib
pascal@14714 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2663 34
jozee@2663 35 }