# SliTaz package receipt. PACKAGE="gavl" VERSION="1.4.0" CATEGORY="multimedia" MAINTAINER="jozee@slitaz.org" LICENSE="GPL3" SHORT_DESC="A low level library, upon which multimedia APIs can be built." WEB_SITE="https://sourceforge.net/projects/gmerlin/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/gmerlin/$TARBALL" DEPENDS="glibc-base" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/gmerlin/files/gavl/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/gavl/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src ./configure --without-doxygen \ --with-cpuflags=none $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*so* $fs/usr/lib/ }