wok view libdbi/receipt @ rev 25057
linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 11:05:30 2022 +0000 (2022-06-06) |
parents | ecd613707114 |
children | 7dd01dedad38 |
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="http://libdbi.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.sourceforge.net/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 }