wok annotate owfs/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children daa51659a0b7
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="owfs"
Hans-G?nter@21650 4 VERSION="3.2p3"
pascal@11226 5 CATEGORY="misc"
Hans-G?nter@21650 6 SHORT_DESC="One Wire File System."
pascal@11226 7 MAINTAINER="l.lemarinel@gmail.com"
pascal@15590 8 LICENSE="GPL2"
pascal@21772 9 WEB_SITE="https://owfs.org/"
Hans-G?nter@21650 10
pascal@11226 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21650 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@15590 13
pascal@24766 14 DEPENDS="fuse2 libusb"
pascal@24766 15 BUILD_DEPENDS="fuse2-dev libtool libusb libusb-dev libusb-compat"
pascal@11226 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@11226 23 # Rules to configure and make the package.
pascal@11226 24 compile_rules()
pascal@11226 25 {
Hans-G?nter@21650 26 ./bootstrap &&
Hans-G?nter@21650 27 ./configure \
Hans-G?nter@21650 28 --prefix=/usr \
Hans-G?nter@21650 29 --bindir=/usr/bin \
Hans-G?nter@21650 30 $CONFIGURE_ARGS &&
pascal@11226 31 make &&
pascal@11226 32 make DESTDIR=$DESTDIR install
pascal@11226 33 }
pascal@11226 34
pascal@11226 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 36 genpkg_rules()
pascal@11226 37 {
pascal@11226 38 mkdir -p $fs/usr
pascal@15590 39 cp -a $install/usr/bin $fs/usr
pascal@11226 40 }