wok view libbsd/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
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 }