# SliTaz package receipt. PACKAGE="libev" VERSION="4.33" CATEGORY="system-tools" SHORT_DESC="A full-featured and high-performance event loop." MAINTAINER="mallory@sweetpeople.org" LICENSE="BSD" WEB_SITE="http://software.schmorp.de/pkg/libev.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://dist.schmorp.de/libev/$TARBALL" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 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() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }