# SliTaz package receipt. PACKAGE="libvorbis" VERSION="1.3.7" CATEGORY="multimedia" SHORT_DESC="Vorbis base library." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.xiph.org/vorbis/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL" DEPENDS="libogg" BUILD_DEPENDS="libogg-dev" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - https://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ $CONFIGURE_ARGS && make -j 1 && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib # The libvorbisenc files should go in libvorbis-enc #cp -a $install/usr/lib/libvorbis.so* $fs/usr/lib #cp -a $install/usr/lib/libvorbisfile.so* $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }