wok annotate libdvdnav/receipt @ rev 25060
Up fakeroot (1.29)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 08:21:12 2022 +0000 (2022-06-07) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
mojo@22262 | 1 # SliTaz package receipt. |
mojo@22262 | 2 |
mojo@22262 | 3 PACKAGE="libdvdnav" |
Hans-G?nter@24732 | 4 VERSION="6.1.1" |
mojo@22262 | 5 CATEGORY="system-tools" |
mojo@22262 | 6 SHORT_DESC="Library for navigating a DVD." |
mojo@22262 | 7 MAINTAINER="mojo@slitaz.org" |
mojo@22262 | 8 LICENSE="GPL2" |
mojo@22262 | 9 WEB_SITE="http://dvdnav.mplayerhq.hu/" |
mojo@22262 | 10 |
mojo@22262 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mojo@22262 | 12 WGET_URL="https://downloads.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" |
mojo@22262 | 13 |
mojo@22262 | 14 BUILD_DEPENDS="libdvdread libdvdread-dev" |
mojo@22262 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24453 | 19 wget -O - https://downloads.videolan.org/pub/videolan/$PACKAGE/last 2>/dev/null | \ |
pascal@24453 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
mojo@22262 | 23 # Rules to configure and make the package. |
mojo@22262 | 24 compile_rules() |
mojo@22262 | 25 { |
Hans-G?nter@24732 | 26 ./configure \ |
mojo@22262 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@24732 | 28 make && |
mojo@22262 | 29 make install |
mojo@22262 | 30 } |
mojo@22262 | 31 |
mojo@22262 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@22262 | 33 genpkg_rules() |
mojo@22262 | 34 { |
Hans-G?nter@24732 | 35 cook_copy_files *.so* |
mojo@22262 | 36 } |