wok-6.x view unixODBC/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents 1ec8e7f04fbf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="unixODBC"
4 VERSION="2.3.11"
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="https://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 # @maintainer: Please update also libunixODBC
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - http://www.unixodbc.org/unixODBC.html 2>/dev/null | \
26 sed '/Released/!d;s|^[ \t]*||;s| .*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --sysconfdir=/etc \
34 --disable-gui \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS LDFLAGS="$LDFLAGS -lrt" &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_folders etc
45 }