wok-6.x annotate owfs/receipt @ rev 24057

Up intel-microcode (20210216), lzsa (1.3.7), xrdp (0.9.16), xorgxrdp (0.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 14:31:15 2021 +0000 (2021-06-08)
parents f7a13af08fc7
children 72f2704d3ae0
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
Hans-G?nter@21650 14 DEPENDS="fuse libusb"
Hans-G?nter@21652 15 BUILD_DEPENDS="fuse-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 }