wok view gdbm/receipt @ rev 25295

updated screenfetch (3.5.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jul 19 17:44:19 2022 +0100 (2022-07-19)
parents 9258333ebe34
children d79ed38ace18
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 }