wok view libdvdcss/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (2 months ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdvdcss"
4 VERSION="1.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Accessing DVDs like a block device."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.videolan.org/developers/libdvdcss.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed '/latest version/!d;s|.*<b>||;s|</b>.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so*
35 }