wok annotate libcdio/receipt @ rev 18176

xombrero: link application icons, change desktop file
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 03 02:05:43 2015 +0300 (2015-07-03)
parents 4904e3d374a9
children e98e0b9d9b66
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 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -ltinfo"
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 }