# SliTaz package receipt. PACKAGE="libacpi" VERSION="0.2" CATEGORY="misc" SHORT_DESC="General purpose library for ACPI." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.ngolde.de/libacpi.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.ngolde.de/download/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { cd $src sed -i 's|/local||' config.mk make && make DESTDIR=$DESTDIR 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 }