wok-next annotate freetds/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents c3a368c0cddb
children 835b3b8ce6ac
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@1183 2
pascal@1183 3 PACKAGE="freetds"
pascal@1183 4 VERSION="0.82"
pascal@1183 5 CATEGORY="system-tools"
al@20456 6 SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries"
pascal@1183 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15154 8 LICENSE="GPL2"
al@20456 9 WEB_SITE="http://www.freetds.org/"
al@20456 10
pascal@1183 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1183 12 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
pascal@1183 13
pascal@15154 14 BUILD_DEPENDS="readline-dev"
al@20456 15 SPLIT="freetds-dev"
pascal@15154 16
al@20456 17 compile_rules() {
al@20534 18 ./configure $CONFIGURE_ARGS &&
pascal@1470 19 make &&
pascal@15154 20 make DESTDIR=$DESTDIR install
pascal@1183 21 }
pascal@1183 22
al@20456 23 genpkg_rules() {
al@20456 24 case $PACKAGE in
al@20456 25 freetds)
al@20456 26 copy @std
al@20456 27 DEPENDS="libunixODBC ncurses readline"
al@20456 28 ;;
al@20456 29 *-dev)
al@20456 30 copy @dev
al@20456 31 ;;
al@20456 32 esac
pascal@1183 33 }