wok-6.x view unixODBC/receipt @ rev 25346
updated task (2.5.1 -> 2.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 09:24:40 2022 +0100 (2022-07-25) |
parents | dec59b33f2da |
children | 1ec8e7f04fbf |
line source
1 # SliTaz package receipt.
3 PACKAGE="unixODBC"
4 VERSION="2.3.7"
5 CATEGORY="system-tools"
6 TAGS="database"
7 SHORT_DESC="ODBC for unix."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.unixodbc.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 DEPENDS="libunixODBC readline"
16 BUILD_DEPENDS="readline-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - http://www.unixodbc.org/unixODBC.html 2>/dev/null | \
24 sed '/Released/!d;s|^[ \t]*||;s| .*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 --disable-gui \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 }