wok-6.x annotate libiodbc/receipt @ rev 25446
ftop: add description.txt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 10:22:54 2022 +0000 (2022-09-06) |
parents | a9879c37011c |
children |
rev | line source |
---|---|
pankso@15932 | 1 # SliTaz package receipt. |
pankso@15932 | 2 |
pankso@15932 | 3 PACKAGE="libiodbc" |
Hans-G?nter@24801 | 4 VERSION="3.52.15" |
pankso@15932 | 5 CATEGORY="system-tools" |
pankso@15932 | 6 SHORT_DESC="Independent Open DataBase Connectivity." |
pankso@15932 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15932 | 8 LICENSE="GPL2" |
pascal@25435 | 9 WEB_SITE="https://www.iodbc.org/" |
Hans-G?nter@21240 | 10 |
Hans-G?nter@24801 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24801 | 12 WGET_URL="https://github.com/openlink/iODBC/archive/refs/tags/v$VERSION.tar.gz" |
pankso@15932 | 13 |
pankso@15932 | 14 DEPENDS="" |
pascal@21246 | 15 BUILD_DEPENDS="automake libtool" |
pankso@15932 | 16 |
pascal@25435 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pankso@15932 | 24 # Rules to configure and make the package. |
pankso@15932 | 25 compile_rules() |
pankso@15932 | 26 { |
Hans-G?nter@21240 | 27 ./autogen.sh && |
pankso@15932 | 28 ./configure $CONFIGURE_ARGS && |
pascal@21246 | 29 make && |
Hans-G?nter@21240 | 30 make install |
pankso@15932 | 31 } |
pankso@15932 | 32 |
pankso@15932 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15932 | 34 genpkg_rules() |
pankso@15932 | 35 { |
Hans-G?nter@24801 | 36 cook_copy_folders bin |
Hans-G?nter@24801 | 37 cook_copy_files *.so* |
pankso@15932 | 38 } |