wok-current annotate gdbm/receipt @ rev 24588

updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author Hans-G?nter Theisgen
date Mon Feb 28 15:06:59 2022 +0100 (2022-02-28)
parents 9258333ebe34
children 5926178cd6fa
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@24076 18 current_version()
pascal@24076 19 {
pascal@24076 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24076 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24076 22 }
pascal@24076 23
pascal@1436 24 # Rules to configure and make the package.
pascal@1436 25 compile_rules()
pascal@1436 26 {
pankso@16042 27 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
pascal@1436 28 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
Hans-G?nter@20959 29
gokhlayeh@11573 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24588 31 make &&
Hans-G?nter@24588 32 make install INSTALL_ROOT=$DESTDIR
pascal@1436 33 }
pascal@1436 34
pascal@1436 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1436 36 genpkg_rules()
pascal@1436 37 {
Hans-G?nter@24588 38 cook_copy_files *.so*
pascal@1436 39 }