wok-current annotate libsigsegv/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (20 months ago) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
paul@4578 | 1 # SliTaz package receipt. |
paul@4578 | 2 |
paul@4578 | 3 PACKAGE="libsigsegv" |
Hans-G?nter@24827 | 4 VERSION="2.14" |
paul@4578 | 5 CATEGORY="development" |
paul@4578 | 6 SHORT_DESC="Library for handling page faults in user mode." |
paul@4578 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2" |
Hans-G?nter@21298 | 9 WEB_SITE="https://www.gnu.org/software/libsigsegv/" |
Hans-G?nter@21298 | 10 |
paul@4578 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4578 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
paul@4578 | 13 |
pascal@15482 | 14 DEPENDS="" |
pascal@15482 | 15 |
pascal@24336 | 16 # What is the latest version available today? |
pascal@24336 | 17 current_version() |
pascal@24336 | 18 { |
pascal@24336 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 21 } |
pascal@24336 | 22 |
paul@4578 | 23 # Rules to configure and make the package. |
paul@4578 | 24 compile_rules() |
paul@4578 | 25 { |
Hans-G?nter@21298 | 26 ./configure \ |
Hans-G?nter@21298 | 27 --prefix=/usr \ |
Hans-G?nter@21298 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@21298 | 29 --mandir=/usr/share/man \ |
paul@4578 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@24827 | 31 make && |
Hans-G?nter@24827 | 32 make install DESTDIR=$DESTDIR |
paul@4578 | 33 } |
paul@4578 | 34 |
paul@4578 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4578 | 36 genpkg_rules() |
paul@4578 | 37 { |
Hans-G?nter@24827 | 38 cook_copy_folders include |
Hans-G?nter@24827 | 39 cook_copy_folders lib |
paul@4578 | 40 } |