wok-6.x annotate 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
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@1183 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1183 9 WEB_SITE="http://www.freetds.org/"
pascal@1183 10 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
pascal@1183 11
pascal@1183 12 # Rules to configure and make the package.
pascal@1183 13 compile_rules()
pascal@1183 14 {
pascal@1183 15 cd $src
pascal@1183 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1183 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1183 18 make
pascal@1183 19 make DESTDIR=$PWD/_pkg install
pascal@1183 20 }
pascal@1183 21
pascal@1183 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1183 23 genpkg_rules()
pascal@1183 24 {
pascal@1183 25 mkdir -p $fs/usr/lib
pascal@1183 26 cp -a $_pkg/etc $fs
pascal@1183 27 cp -a $_pkg/usr/bin $fs/usr
pascal@1183 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1183 29 # Package all freetds pkgs
pascal@1183 30 for i in $(cd $WOK; ls -d freetds-*)
pascal@1183 31 do
pascal@1183 32 tazwok genpkg $i
pascal@1183 33 done
pascal@1183 34 }
pascal@1183 35