wok view udevil/receipt @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (2022-10-07) |
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 }