wok-next annotate freetds/receipt @ rev 18291
Up slitaz-boot-scripts (409)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 15 09:24:54 2015 +0200 (2015-08-15) |
parents | 53e1828da719 |
children | c3a368c0cddb |
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@15154 | 8 LICENSE="GPL2" |
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@15154 | 13 DEPENDS="libunixODBC ncurses readline" |
pascal@15154 | 14 BUILD_DEPENDS="readline-dev" |
pascal@15154 | 15 |
pascal@1183 | 16 # Rules to configure and make the package. |
pascal@1183 | 17 compile_rules() |
pascal@1183 | 18 { |
pascal@1183 | 19 cd $src |
pascal@1183 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@15154 | 21 --sysconfdir=/etc --mandir=/usr/share/man \ |
pascal@15154 | 22 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && |
pascal@1470 | 23 make && |
pascal@15154 | 24 make DESTDIR=$DESTDIR install |
pascal@1183 | 25 } |
pascal@1183 | 26 |
pascal@1183 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1183 | 28 genpkg_rules() |
pascal@1183 | 29 { |
pascal@1183 | 30 mkdir -p $fs/usr/lib |
pascal@15154 | 31 cp -a $install/etc $fs |
pascal@15154 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15154 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1183 | 34 } |
pascal@1183 | 35 |