wok-6.x view libdvdcss/receipt @ rev 24654
updated i7z (0.27.3 -> 0.27.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:54:52 2022 +0100 (2022-03-11) |
parents | c5acfdf7d5ad |
children | 181317ae7e78 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdvdcss"
4 VERSION="1.4.2"
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 --prefix=/usr $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }