wok view gdbm/receipt @ rev 25802
Add rtmidi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 04 17:46:04 2024 +0000 (2 weeks ago) |
parents | d79ed38ace18 |
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://savannah.gnu.org/projects/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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
29 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install INSTALL_ROOT=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }