# SliTaz package receipt. PACKAGE="schroedinger" VERSION="1.0.11" CATEGORY="multimedia" SHORT_DESC="Dirac video compression library" MAINTAINER="domcox@slitaz.org" LICENSE="MPL LGPL GPL MIT" WEB_SITE="http://diracvideo.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://download.videolan.org/contrib/$TARBALL" DEPENDS="orc" BUILD_DEPENDS="orc-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/Distrotech/dirac/tags 2>/dev/null | \ sed '/schroedinger/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --disable-static \ $CONFIGURE_ARGS && \ make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mv $install/usr/lib/*.so* $fs/usr/lib }