wok view libsigsegv/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5fe4ecec3100
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsigsegv"
4 VERSION="2.14"
5 CATEGORY="development"
6 SHORT_DESC="Library for handling page faults in user mode."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/libsigsegv/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders include
39 cook_copy_folders lib
40 }