wok-current annotate gdbm/receipt @ rev 24078
gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 16:53:11 2021 +0000 (2021-07-08) |
parents | 3e9a9990c985 |
children | c8515a1a219e |
rev | line source |
---|---|
pascal@1436 | 1 # SliTaz package receipt. |
pascal@1436 | 2 |
pascal@1436 | 3 PACKAGE="gdbm" |
Hans-G?nter@20959 | 4 VERSION="1.18.1" |
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@20959 | 31 make -j 1 && |
gokhlayeh@8182 | 32 make INSTALL_ROOT=$DESTDIR install |
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 { |
pascal@1436 | 38 mkdir -p $fs/usr/lib |
pascal@14999 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1436 | 40 } |