wok-current annotate udevil/receipt @ rev 22120

updated wavemon (0.7.5 -> 0.9.0)
author Hans-G?nter Theisgen
date Sun Nov 03 15:16:39 2019 +0100 (2019-11-03)
parents 643835a7d5a1
children 5ea0ce1cecc0
rev   line source
pankso@13369 1 # SliTaz package receipt.
pankso@13369 2
pankso@13369 3 PACKAGE="udevil"
Hans-G?nter@22066 4 VERSION="0.4.4"
pankso@13369 5 CATEGORY="system-tools"
pankso@13369 6 SHORT_DESC="Fast and light devices manager."
pankso@13369 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
Hans-G?nter@22066 9 WEB_SITE="https://ignorantguru.github.io/udevil/"
Hans-G?nter@22066 10
Hans-G?nter@22066 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22067 12 WGET_URL="https://github.com/IgnorantGuru/$PACKAGE/archive/$VERSION.tar.gz"
pankso@13369 13
pankso@13369 14 DEPENDS="udev glib"
Hans-G?nter@22066 15 BUILD_DEPENDS="udev-dev glib-dev file"
pankso@13369 16
pankso@13369 17 # Rules to configure and make the package.
pankso@13369 18 compile_rules()
pankso@13369 19 {
pankso@13369 20 ./configure --prefix=/usr &&
Hans-G?nter@22066 21 make &&
Hans-G?nter@22066 22 make install
pankso@13369 23 }
pankso@13369 24
pankso@13369 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13369 26 genpkg_rules()
pankso@13369 27 {
pankso@13369 28 mkdir -p $fs/usr
Hans-G?nter@22066 29
Hans-G?nter@22066 30 cp -a $install/etc $fs
Hans-G?nter@22066 31 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22066 32
pankso@13369 33 # Must be suid root
pankso@13369 34 chmod +s $fs/usr/bin/udevil
pankso@13369 35 }