wok view libcdio/receipt @ rev 21482

updated mpd (0.17.2 -> 0.21.8)
author Hans-G?nter Theisgen
date Wed May 01 09:38:09 2019 +0100 (2019-05-01)
parents 17e313b5b9c1
children e36f778452bc
line source
1 # SliTaz package receipt.
3 PACKAGE="libcdio"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="GNU Compact Disk Input and Control Library."
7 MAINTAINER="rj.rohit@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/libcdio/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
14 DEPENDS="gcc-lib-base libcddb ncurses"
15 BUILD_DEPENDS="gcc-lib-base libcddb libcddb-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 grep -qs 'define u8' lib/driver/gnu_linux.c ||
22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
23 lib/driver/gnu_linux.c
25 ./configure \
26 --prefix=/usr \
27 --disable-vcd-info \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }