wok-next annotate freetds/receipt @ rev 11673
Add uclibc-cross-compiler-x86_64, uclibc-x86_64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 08:32:23 2012 +0100 (2012-02-18) |
parents | 3eacc9c96968 |
children | 7b3764f928eb |
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 } |
pascal@1183 | 32 |