wok view gdbm/receipt @ rev 25610
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 21 17:16:04 2023 +0000 (16 months ago) |
parents | c8515a1a219e |
children | 3c575401ce94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdbm"
4 VERSION="1.23"
5 CATEGORY="misc"
6 SHORT_DESC="GNU database indexing library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gdbm"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="readline-dev"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
29 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install INSTALL_ROOT=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }