wok annotate owfs/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (12 days ago)
parents daa51659a0b7
children
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@25600 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@11226 24 # Rules to configure and make the package.
pascal@11226 25 compile_rules()
pascal@11226 26 {
Hans-G?nter@21650 27 ./bootstrap &&
Hans-G?nter@21650 28 ./configure \
Hans-G?nter@21650 29 --prefix=/usr \
Hans-G?nter@21650 30 --bindir=/usr/bin \
Hans-G?nter@21650 31 $CONFIGURE_ARGS &&
pascal@11226 32 make &&
pascal@11226 33 make DESTDIR=$DESTDIR install
pascal@11226 34 }
pascal@11226 35
pascal@11226 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 37 genpkg_rules()
pascal@11226 38 {
Hans-G?nter@25081 39 cook_copy_folders bin
pascal@11226 40 }