wok-4.x view freetds/receipt @ rev 2637

Added tag 2.0 for changeset cf71613b81e7
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 20:00:00 2009 +0200 (2009-04-16)
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 }