wok-stable annotate freetds/receipt @ rev 5280

Up: libart_lgpl
author Rohit Joshi <jozee@slitaz.org>
date Fri Apr 16 12:54:42 2010 -0400 (2010-04-16)
parents 3613f8f29a86
children 53e1828da719
rev   line source
pascal@1183 1 # SliTaz package receipt.
pascal@1183 2
pascal@1183 3 PACKAGE="freetds"
pascal@1183 4 VERSION="0.82"
pascal@1183 5 CATEGORY="system-tools"
pascal@1183 6 SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries."
pascal@1183 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1470 8 BUILD_DEPENDS="readline-dev"
pascal@2486 9 DEPENDS="libunixODBC ncurses readline"
pascal@1183 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1183 11 WEB_SITE="http://www.freetds.org/"
pascal@1183 12 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
pascal@1183 13
pascal@1183 14 # Rules to configure and make the package.
pascal@1183 15 compile_rules()
pascal@1183 16 {
pascal@1183 17 cd $src
pascal@1183 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1559 19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1470 20 make &&
pascal@1183 21 make DESTDIR=$PWD/_pkg install
pascal@1183 22 }
pascal@1183 23
pascal@1183 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1183 25 genpkg_rules()
pascal@1183 26 {
pascal@1183 27 mkdir -p $fs/usr/lib
pascal@1183 28 cp -a $_pkg/etc $fs
pascal@1183 29 cp -a $_pkg/usr/bin $fs/usr
pascal@1183 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1183 31 # Package all freetds pkgs
pascal@1183 32 for i in $(cd $WOK; ls -d freetds-*)
pascal@1183 33 do
pascal@1183 34 tazwok genpkg $i
pascal@1183 35 done
pascal@1183 36 }
pascal@1183 37