wok-current view libbsd/receipt @ rev 24785
updated libspectre (0.2.7 -> 0.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 08:02:35 2022 +0100 (2022-03-21) |
parents | 30054e3f93e9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libbsd"
4 VERSION="0.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Provides useful functions commonly found on BSD systems."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="BSD MIT"
9 WEB_SITE="https://libbsd.freedesktop.org/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://libbsd.freedesktop.org/releases/$TARBALL"
14 HOST_ARCH="i486 arm"
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-[0-9]/!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 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }