wok view freetds/receipt @ rev 1625

get-texlive add perl to DEPEND, ask user to confirm installation
author Pierre-Jean Fichet <sygne@ombres.eu>
date Thu Oct 23 20:14:35 2008 +0000 (2008-10-23)
parents 14320228765e
children 3eacc9c96968
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freetds.org/"
11 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # Package all freetds pkgs
31 for i in $(cd $WOK; ls -d freetds-*)
32 do
33 tazwok genpkg $i
34 done
35 }