wok-next annotate freetds/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 757d032c55c7
children c9e0b56d2a10
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 &&
al@20569 19 fix libtool &&
pascal@1470 20 make &&
pascal@15154 21 make DESTDIR=$DESTDIR install
pascal@1183 22 }
pascal@1183 23
al@20456 24 genpkg_rules() {
al@20456 25 case $PACKAGE in
al@20456 26 freetds)
al@20456 27 copy @std
al@20456 28 DEPENDS="libunixODBC ncurses readline"
al@20456 29 ;;
al@20456 30 *-dev)
al@20456 31 copy @dev
al@20456 32 ;;
al@20456 33 esac
pascal@1183 34 }