wok view freetds/receipt @ rev 1454

tcc dropbear db chkrootkit: Apply patch once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 16:03:56 2008 +0000 (2008-10-03)
parents
children 14320228765e
line source
1 # SliTaz package receipt.
3 PACKAGE="freetds"
4 VERSION="0.82"
5 CATEGORY="system-tools"
6 SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.freetds.org/"
10 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/etc $fs
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 # Package all freetds pkgs
30 for i in $(cd $WOK; ls -d freetds-*)
31 do
32 tazwok genpkg $i
33 done
34 }