wok-current view libunwind/receipt @ rev 25425

updated xa (2.3.10 -> 2.3.13)
author Hans-G?nter Theisgen
date Thu Aug 18 16:31:57 2022 +0100 (2022-08-18)
parents 17091bc7c301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libunwind"
4 VERSION="1.6.2"
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="MIT"
9 WEB_SITE="https://www.nongnu.org/libunwind/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.savannah.gnu.org/releases/libunwind/$TARBALL"
14 DEPENDS="gcc83-lib-base liblzma"
15 BUILD_DEPENDS="gcc83 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 CC=gcc-83 \
29 CXX=g++-83 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }