wok-6.x view speedtouch/receipt @ rev 6687

Up: libwebkit to 1.2.5. Added gobject-introspection-dev, tar, gettext, and webkit-r-dev to build depends. It needs libwebkit-1.0.la to compile itself. Tar is needed cause of --version is not in busybox tar.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 12 21:49:16 2010 +0000 (2010-10-12)
parents
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="speedtouch"
4 VERSION="1.3.1"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Driver for the ADSL Speed Touch USB modem"
8 WEB_SITE="http://speedtouch.sourceforge.net/"
9 DEPENDS="bash"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
18 while read file; do
19 [ -f done.$file ] && continue
20 echo "Apply $file..."
21 patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1
22 touch done.$file
23 done <<EOT
24 gcc4.u
25 EOT
26 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man &&
27 make &&
28 make prefix=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
39 }