wok view libcdio/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
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 }