wok view unixODBC/receipt @ rev 25641

Fix miss gogglesmm app icon for menu
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 07 10:30:54 2024 +0100 (10 months ago)
parents 7f7bd3c9775e
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 's|After.*finally \(.*\)|\1 Released|;s|And now \(.*\)|\1 Released|;/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 }