wok view owfs/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents daa51659a0b7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="owfs"
4 VERSION="3.2p4"
5 CATEGORY="misc"
6 SHORT_DESC="One Wire File System."
7 MAINTAINER="l.lemarinel@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://owfs.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="fuse libusb"
15 BUILD_DEPENDS="fuse-dev libtool libusb libusb-dev libusb-compat"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./bootstrap &&
28 ./configure \
29 --prefix=/usr \
30 --bindir=/usr/bin \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }