wok view gdbm/receipt @ rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
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 }