wok annotate owfs/receipt @ rev 25589

xinput-calibrator: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 10:35:54 2023 +0000 (17 months ago)
parents 72f2704d3ae0
children 7364ffdaaa60
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="owfs"
Hans-G?nter@25081 4 VERSION="3.2p4"
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@25081 14 DEPENDS="fuse libusb"
Hans-G?nter@25081 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 {
Hans-G?nter@25081 38 cook_copy_folders bin
pascal@11226 39 }