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

Up: tazpkg(824), tazpanel(519): AJAX loader, mkdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 04 02:40:20 2015 +0300 (2015-08-04)
parents 4904e3d374a9
children e98e0b9d9b66
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 export LDFLAGS="$LDFLAGS -ltinfo"
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
34 }