wok view udevil/receipt @ rev 25348
updated tcllib (1.20 -> 1.21)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 13:13:47 2022 +0100 (2022-07-25) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="udevil"
4 VERSION="0.4.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast and light devices manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://ignorantguru.github.io/udevil/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/IgnorantGuru/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="udev glib"
15 BUILD_DEPENDS="udev-dev glib-dev file"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
39 # Must be suid root
40 chmod +s $fs/usr/bin/udevil
41 }