wok-current annotate unixODBC/receipt @ rev 25485
BootProg/fat32: active fat support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 01 16:13:12 2022 +0000 (2022-11-01) |
parents | 934055de50e2 |
children | 7f7bd3c9775e |
rev | line source |
---|---|
pascal@1186 | 1 # SliTaz package receipt. |
pascal@1186 | 2 |
pascal@1186 | 3 PACKAGE="unixODBC" |
Hans-G?nter@25385 | 4 VERSION="2.3.11" |
pascal@1186 | 5 CATEGORY="system-tools" |
Hans-G?nter@22079 | 6 TAGS="database" |
pascal@1186 | 7 SHORT_DESC="ODBC for unix." |
pascal@1186 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@22079 | 10 WEB_SITE="http://www.unixodbc.org/" |
Hans-G?nter@22079 | 11 |
pascal@1186 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1186 | 13 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14996 | 14 |
pascal@2406 | 15 DEPENDS="libunixODBC readline" |
pascal@16473 | 16 BUILD_DEPENDS="readline-dev" |
pascal@1186 | 17 |
Hans-G?nter@22079 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22079 | 19 |
Hans-G?nter@25385 | 20 # @maintainer: Please update also libunixODBC |
Hans-G?nter@25385 | 21 |
pascal@24462 | 22 # What is the latest version available today? |
pascal@24462 | 23 current_version() |
pascal@24462 | 24 { |
pascal@24462 | 25 wget -O - http://www.unixodbc.org/unixODBC.html 2>/dev/null | \ |
pascal@24462 | 26 sed '/Released/!d;s|^[ \t]*||;s| .*||;q' |
pascal@24462 | 27 } |
pascal@24462 | 28 |
pascal@1186 | 29 # Rules to configure and make the package. |
pascal@1186 | 30 compile_rules() |
pascal@1186 | 31 { |
Hans-G?nter@22079 | 32 ./configure \ |
Hans-G?nter@22079 | 33 --sysconfdir=/etc \ |
Hans-G?nter@22079 | 34 --disable-gui \ |
pankso@16079 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@25385 | 36 make $MAKEFLAGS LDFLAGS="$LDFLAGS -lrt" && |
Hans-G?nter@25385 | 37 make install DESTDIR=$DESTDIR |
pascal@1186 | 38 } |
pascal@1186 | 39 |
pascal@1186 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1186 | 41 genpkg_rules() |
pascal@1186 | 42 { |
Hans-G?nter@25385 | 43 cook_copy_folders bin |
Hans-G?nter@25385 | 44 cook_copy_folders etc |
pascal@1186 | 45 } |