# SliTaz package receipt. PACKAGE="libdvdnav" VERSION="6.1.1" CATEGORY="system-tools" SHORT_DESC="Library for navigating a DVD." MAINTAINER="mojo@slitaz.org" LICENSE="GPL2" WEB_SITE="http://dvdnav.mplayerhq.hu/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://downloads.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" BUILD_DEPENDS="libdvdread libdvdread-dev" # What is the latest version available today? current_version() { wget -O - https://downloads.videolan.org/pub/videolan/$PACKAGE/last 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }