wok-next annotate freetds/receipt @ rev 1988
Fix: udev rules missing in /etc/ude/rules.d
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 06 13:01:01 2009 +0100 (2009-01-06) |
parents | 14320228765e |
children | 3eacc9c96968 |
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@1183 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1183 | 10 WEB_SITE="http://www.freetds.org/" |
pascal@1183 | 11 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL" |
pascal@1183 | 12 |
pascal@1183 | 13 # Rules to configure and make the package. |
pascal@1183 | 14 compile_rules() |
pascal@1183 | 15 { |
pascal@1183 | 16 cd $src |
pascal@1183 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1559 | 18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1470 | 19 make && |
pascal@1183 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1183 | 21 } |
pascal@1183 | 22 |
pascal@1183 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1183 | 24 genpkg_rules() |
pascal@1183 | 25 { |
pascal@1183 | 26 mkdir -p $fs/usr/lib |
pascal@1183 | 27 cp -a $_pkg/etc $fs |
pascal@1183 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1183 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1183 | 30 # Package all freetds pkgs |
pascal@1183 | 31 for i in $(cd $WOK; ls -d freetds-*) |
pascal@1183 | 32 do |
pascal@1183 | 33 tazwok genpkg $i |
pascal@1183 | 34 done |
pascal@1183 | 35 } |
pascal@1183 | 36 |