wok annotate libcdio/receipt @ rev 23041
linphone: added build dependency cmake
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 04 14:40:01 2020 +0100 (2020-03-04) |
parents | e98e0b9d9b66 |
children | 71360a13cd94 |
rev | line source |
---|---|
jozee@2663 | 1 # SliTaz package receipt. |
jozee@2663 | 2 |
jozee@2663 | 3 PACKAGE="libcdio" |
Hans-G?nter@23017 | 4 VERSION="2.1.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 |
Hans-G?nter@23017 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@23017 | 12 WGET_URL="$GNU_MIRROR/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 |
Hans-G?nter@23017 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2663 | 38 } |