SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "speedtouch"

# SliTaz package receipt.

PACKAGE="speedtouch"
VERSION="1.3.1"
CATEGORY="misc"
MAINTAINER="jozee@slitaz.org"
SHORT_DESC="Driver for the ADSL Speed Touch USB modem"
WEB_SITE="http://speedtouch.sourceforge.net/"
DEPENDS="bash"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"


# 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=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/etc $fs
    cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share    
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)