wok-current view gdbm/receipt @ rev 24841

updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author Hans-G?nter Theisgen
date Fri Mar 25 09:32:35 2022 +0100 (2022-03-25)
parents 9258333ebe34
children
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 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
28 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make install INSTALL_ROOT=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }