wok-current view libsigsegv/receipt @ rev 24548
created recipe for firefox-official-pl
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:47:13 2022 +0100 (2022-02-25) |
parents | 60debd434ad3 |
children | 5fe4ecec3100 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsigsegv"
4 VERSION="2.12"
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 - ${WGET_URL%/*} 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 -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/include $fs/usr
42 }