wok view libdbi/receipt @ rev 25555
Up gsoap (2.8.127)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 19 10:00:25 2023 +0000 (19 months ago) |
parents | 7dd01dedad38 |
children | d3556b8f5c3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdbi"
4 VERSION="0.9.0"
5 CATEGORY="development"
6 SHORT_DESC="Database independent abstraction layer for C."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2+"
9 WEB_SITE="https://sourceforge.net/projects/libdbi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/libdbi/files/libdbi/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/libdbi-||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }