wok-6.x view libcdio/receipt @ rev 14808

Up: mariadb* (5.5.30)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:30:02 2013 +0200 (2013-07-17)
parents cc496c8ab07e
children 17e313b5b9c1
line source
1 # SliTaz package receipt.
3 PACKAGE="libcdio"
4 VERSION="0.83"
5 CATEGORY="multimedia"
6 SHORT_DESC="GNU Compact Disc Input and Control Library"
7 MAINTAINER="rj.rohit@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libcdio/"
11 WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
13 DEPENDS="libcddb ncurses gcc-lib-base"
14 BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 grep -qs 'define u8' lib/driver/gnu_linux.c ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
22 lib/driver/gnu_linux.c
23 ./configure --prefix=/usr --disable-vcd-info \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }