# SliTaz package receipt. PACKAGE="libdvdcss" VERSION="1.4.3" CATEGORY="system-tools" SHORT_DESC="Accessing DVDs like a block device." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.videolan.org/developers/libdvdcss.html" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/latest version/!d;s|.*||;s|.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }