wok annotate libcdio/receipt @ rev 11774

libxcb-dev: Fix DEPENDS (http://bugs.slitaz.org/issue76)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 23 23:27:47 2012 +0100 (2012-02-23)
parents 7f37d33e799b
children cc496c8ab07e
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"
erjo@11632 8 DEPENDS="ncurses gcc-lib-base"
erjo@11632 9 BUILD_DEPENDS="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 }