wok-current view libiodbc/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | 749347c24b5c |
children | a9879c37011c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libiodbc"
4 VERSION="3.52.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Independent Open DataBase Connectivity."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.iodbc.org/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://github.com/openlink/iODBC/archive/v$VERSION.zip"
14 DEPENDS=""
15 BUILD_DEPENDS="automake libtool"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }