wok-6.x annotate libbsd/receipt @ rev 24762
avfs: copy mountavfs and umountavfs with proper permissions
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 15:07:58 2022 +0100 (2022-03-18) |
parents | 30054e3f93e9 |
children |
rev | line source |
---|---|
claudinei@14893 | 1 # SliTaz package receipt. |
claudinei@14893 | 2 |
claudinei@14893 | 3 PACKAGE="libbsd" |
Hans-G?nter@23013 | 4 VERSION="0.10.0" |
claudinei@14893 | 5 CATEGORY="development" |
claudinei@14893 | 6 SHORT_DESC="Provides useful functions commonly found on BSD systems." |
claudinei@14893 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@14894 | 8 LICENSE="BSD MIT" |
pascal@20669 | 9 WEB_SITE="https://libbsd.freedesktop.org/wiki/" |
Hans-G?nter@21150 | 10 |
claudinei@14893 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 12 WGET_URL="https://libbsd.freedesktop.org/releases/$TARBALL" |
Hans-G?nter@21150 | 13 |
pankso@16417 | 14 HOST_ARCH="i486 arm" |
claudinei@14893 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
claudinei@14893 | 23 # Rules to configure and make the package. |
claudinei@14893 | 24 compile_rules() |
claudinei@14893 | 25 { |
Hans-G?nter@21150 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21150 | 27 make -j 1 && |
Hans-G?nter@21150 | 28 make install |
claudinei@14893 | 29 } |
claudinei@14893 | 30 |
claudinei@14893 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14893 | 32 genpkg_rules() |
claudinei@14893 | 33 { |
claudinei@14893 | 34 mkdir -p $fs/usr/lib |
claudinei@14893 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
claudinei@14893 | 36 } |