wok annotate libiodbc/receipt @ rev 24176

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