wok-current view libunwind/receipt @ rev 24435
updated consolekit2 and consolekit2-dev (1.2.1 -> 1.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 07:06:09 2022 +0100 (2022-02-13) |
parents | 60ff708a9bbf |
children | bc4acb77e841 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libunwind"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="C programming interface (API) to determine the call-chain of a program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="X11"
9 WEB_SITE="https://www.nongnu.org/libunwind/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.savannah.gnu.org/releases/libunwind/$TARBALL"
14 DEPENDS="liblzma"
15 BUILD_DEPENDS="liblzma-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }