wok-next view freetds/receipt @ rev 4978

add/improve TAGS z* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 12:44:14 2010 +0000 (2010-02-24)
parents 3613f8f29a86
children 53e1828da719
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 BUILD_DEPENDS="readline-dev"
9 DEPENDS="libunixODBC ncurses readline"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freetds.org/"
12 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 # Package all freetds pkgs
32 for i in $(cd $WOK; ls -d freetds-*)
33 do
34 tazwok genpkg $i
35 done
36 }