wok annotate libdvdcss/receipt @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdcss" |
Hans-G?nter@24730 | 4 VERSION="1.4.3" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Accessing DVDs like a block device." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
Hans-G?nter@21170 | 9 WEB_SITE="https://www.videolan.org/developers/libdvdcss.html" |
Hans-G?nter@21170 | 10 |
erjo@621 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21170 | 12 WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" |
erjo@621 | 13 |
pascal@24447 | 14 # What is the latest version available today? |
pascal@24447 | 15 current_version() |
pascal@24447 | 16 { |
pascal@24447 | 17 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24447 | 18 sed '/latest version/!d;s|.*<b>||;s|</b>.*||;q' |
pascal@24447 | 19 } |
pascal@24447 | 20 |
erjo@621 | 21 # Rules to configure and make the package. |
erjo@621 | 22 compile_rules() |
erjo@621 | 23 { |
Hans-G?nter@24730 | 24 ./configure \ |
Hans-G?nter@24730 | 25 --prefix=/usr \ |
Hans-G?nter@24730 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@24730 | 27 make && |
Hans-G?nter@24730 | 28 make install DESTDIR=$DESTDIR |
erjo@621 | 29 } |
erjo@621 | 30 |
erjo@621 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 32 genpkg_rules() |
erjo@621 | 33 { |
Hans-G?nter@24730 | 34 cook_copy_files *.so* |
erjo@621 | 35 } |