wok view freetds/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | 53e1828da719 |
children | addb674a634f |
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 LICENSE="GPL2"
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 DEPENDS="libunixODBC ncurses readline"
14 BUILD_DEPENDS="readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --mandir=/usr/share/man \
22 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }