wok annotate gdbm/receipt @ rev 25609

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