wok annotate libcdio/receipt @ rev 22952

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