wok-6.x view freetds/receipt @ rev 1265
Add: libetpan, libetpan-dev.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Aug 15 17:58:07 2008 +0200 (2008-08-15) |
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 }