wok annotate freetds/receipt @ rev 25795
created recipe for libxfcegui4-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago) |
parents | 83b97236db32 |
children |
rev | line source |
---|---|
pascal@1183 | 1 # SliTaz package receipt. |
pascal@1183 | 2 |
pascal@1183 | 3 PACKAGE="freetds" |
Hans-G?nter@24572 | 4 VERSION="1.3.9" |
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" |
Hans-G?nter@22779 | 9 WEB_SITE="https://www.freetds.org/" |
Hans-G?nter@22779 | 10 |
Hans-G?nter@22780 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22780 | 12 WGET_URL="${WEB_SITE}files/stable/$TARBALL" |
pascal@1183 | 13 |
pascal@15154 | 14 DEPENDS="libunixODBC ncurses readline" |
pascal@15154 | 15 BUILD_DEPENDS="readline-dev" |
pascal@15154 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 21 sed "/patch/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
pascal@1183 | 24 # Rules to configure and make the package. |
pascal@1183 | 25 compile_rules() |
pascal@1183 | 26 { |
Hans-G?nter@22779 | 27 ./configure \ |
Hans-G?nter@22779 | 28 --prefix=/usr \ |
Hans-G?nter@22779 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22779 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22779 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@24572 | 32 $CONFIGURE_ARGS && |
pascal@1470 | 33 make && |
Hans-G?nter@24572 | 34 make install -j 1 DESTDIR=$DESTDIR |
Hans-G?nter@24572 | 35 # Do not remove -j 1 |
pascal@1183 | 36 } |
pascal@1183 | 37 |
pascal@1183 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1183 | 39 genpkg_rules() |
pascal@1183 | 40 { |
pascal@1183 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22779 | 42 |
Hans-G?nter@22779 | 43 cp -a $install/etc $fs |
Hans-G?nter@22779 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22779 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1183 | 46 } |