Receipt for package "speedtouch"
# SliTaz package receipt. PACKAGE="speedtouch" VERSION="1.3.1" CATEGORY="misc" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" SHORT_DESC="Driver for the ADSL Speed Touch USB modem" WEB_SITE="https://speedtouch.sourceforge.net/" DEPENDS="bash" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/speedtouch/files/speedtouch%20driver/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/speedtouch%20driver/Release%20||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src while read file; do [ -f done.$file ] && continue echo "Apply $file..." patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 touch done.$file done <<EOT gcc4.u EOT ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make prefix=$DESTDIR/usr sysconfdir=$DESTDIR/etc mandir=$DESTDIR/usr/share/man install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/etc $fs cp -a $install/usr/share/$PACKAGE $fs/usr/share }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)