wok view libdvdread/receipt @ rev 24583

updated fusioninventory-agent (2.5.2 -> 2.6)
author Hans-G?nter Theisgen
date Sun Feb 27 17:43:39 2022 +0100 (2022-02-27)
parents e5a210b88da0
children 95220f1f0db1
line source
1 # SliTaz package receipt.
3 PACKAGE="libdvdread"
4 VERSION="6.0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for reading DVDs."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dvdnav.mplayerhq.hu/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://downloads.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libdvdcss-dev libtool"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # patch -Np1 -i $stuff/DVDFileStat.patch
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }