wok annotate libdvdcss/receipt @ rev 24568

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 16:37:15 2022 +0000 (2022-02-26)
parents c5acfdf7d5ad
children 181317ae7e78
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="libdvdcss"
Hans-G?nter@21170 4 VERSION="1.4.2"
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@21170 24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
Hans-G?nter@21170 25 make -j 1 &&
slaxemulator@12898 26 make DESTDIR=$DESTDIR install
erjo@621 27 }
erjo@621 28
erjo@621 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 30 genpkg_rules()
erjo@621 31 {
erjo@621 32 mkdir -p $fs/usr/lib
slaxemulator@12898 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@621 34 }