wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="owfs"
4 VERSION="3.2p3"
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./bootstrap &&
27 ./configure \
28 --prefix=/usr \
29 --bindir=/usr/bin \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }