wok-current annotate unixODBC/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | dec59b33f2da |
children | 1ec8e7f04fbf |
rev | line source |
---|---|
pascal@1186 | 1 # SliTaz package receipt. |
pascal@1186 | 2 |
pascal@1186 | 3 PACKAGE="unixODBC" |
Hans-G?nter@22079 | 4 VERSION="2.3.7" |
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 |
pascal@24462 | 20 # What is the latest version available today? |
pascal@24462 | 21 current_version() |
pascal@24462 | 22 { |
pascal@24462 | 23 wget -O - http://www.unixodbc.org/unixODBC.html 2>/dev/null | \ |
pascal@24462 | 24 sed '/Released/!d;s|^[ \t]*||;s| .*||;q' |
pascal@24462 | 25 } |
pascal@24462 | 26 |
pascal@1186 | 27 # Rules to configure and make the package. |
pascal@1186 | 28 compile_rules() |
pascal@1186 | 29 { |
Hans-G?nter@22079 | 30 ./configure \ |
Hans-G?nter@22079 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22079 | 32 --disable-gui \ |
pankso@16079 | 33 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 34 make $MAKEFLAGS && |
pascal@14996 | 35 make DESTDIR=$DESTDIR install |
pascal@1186 | 36 } |
pascal@1186 | 37 |
pascal@1186 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1186 | 39 genpkg_rules() |
pascal@1186 | 40 { |
Hans-G?nter@22079 | 41 mkdir -p $fs/usr |
Hans-G?nter@22079 | 42 |
Hans-G?nter@22079 | 43 cp -a $install/etc $fs |
Hans-G?nter@22079 | 44 cp -a $install/usr/bin $fs/usr |
pascal@1186 | 45 } |