wok view libcdio/receipt @ rev 23210

updated nagios and nagios-dev (4.4.3 -> 4.4.5)
author Hans-G?nter Theisgen
date Sat Mar 21 13:53:08 2020 +0100 (2020-03-21)
parents e98e0b9d9b66
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="libcdio"
4 VERSION="2.1.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.bz2"
12 WGET_URL="$GNU_MIRROR/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 }