wok-6.x annotate libcdio/receipt @ rev 24522
ettercap: added dependency libpanel
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:52:03 2022 +0100 (2022-02-22) |
parents | e36f778452bc |
children |
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 |
pascal@24336 | 17 # What is the latest version available today? |
pascal@24336 | 18 current_version() |
pascal@24336 | 19 { |
pascal@24336 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 21 sed "/paranoia/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 22 } |
pascal@24336 | 23 |
jozee@2663 | 24 # Rules to configure and make the package. |
jozee@2663 | 25 compile_rules() |
jozee@2663 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@6113 | 28 grep -qs 'define u8' lib/driver/gnu_linux.c || |
pascal@6113 | 29 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6113 | 30 lib/driver/gnu_linux.c |
Hans-G?nter@21155 | 31 |
Hans-G?nter@21155 | 32 ./configure \ |
Hans-G?nter@21155 | 33 --prefix=/usr \ |
Hans-G?nter@21155 | 34 --disable-vcd-info \ |
slaxemulator@11021 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21155 | 36 make -j 1 && |
pascal@14714 | 37 make DESTDIR=$DESTDIR install |
jozee@2663 | 38 } |
jozee@2663 | 39 |
jozee@2663 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2663 | 41 genpkg_rules() |
jozee@2663 | 42 { |
jozee@2663 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@23017 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2663 | 45 } |