wok view udevil/receipt @ rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents 9a0f4de525d7
children ac8ca9758df1
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*}/releases 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 }