wok-6.x annotate libdvdread/receipt @ rev 24875
updated m4 (1.4.18 -> 1.4.19)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 10:07:36 2022 +0100 (2022-03-31) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdread" |
Hans-G?nter@24731 | 4 VERSION="6.1.2" |
erjo@621 | 5 CATEGORY="system-tools" |
Hans-G?nter@21171 | 6 SHORT_DESC="Library for reading DVDs." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15154 | 8 LICENSE="GPL2" |
Hans-G?nter@21171 | 9 WEB_SITE="http://dvdnav.mplayerhq.hu/" |
Hans-G?nter@21171 | 10 |
slaxemulator@10547 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21171 | 12 WGET_URL="https://downloads.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" |
erjo@621 | 13 |
Hans-G?nter@21171 | 14 BUILD_DEPENDS="libdvdcss-dev libtool" |
pascal@15154 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
erjo@621 | 23 # Rules to configure and make the package. |
erjo@621 | 24 compile_rules() |
erjo@621 | 25 { |
Hans-G?nter@21171 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24731 | 27 make && |
Hans-G?nter@21171 | 28 make install |
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@24731 | 34 cook_copy_files *.so* |
erjo@621 | 35 } |