wok annotate udevil/receipt @ rev 20166
Up cryptsetup (2.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 10 17:53:07 2018 +0100 (2018-01-10) |
parents | f4c22f009037 |
children | 4cd6aef57b3a |
rev | line source |
---|---|
pankso@13369 | 1 # SliTaz package receipt. |
pankso@13369 | 2 |
pankso@13369 | 3 PACKAGE="udevil" |
erjo@15702 | 4 VERSION="0.4.3" |
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" |
pankso@13369 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@13369 | 10 WEB_SITE="http://ignorantguru.github.com/udevil/" |
pankso@13369 | 11 WGET_URL="https://raw.github.com/IgnorantGuru/udevil/master/packages/$VERSION/$TARBALL" |
pankso@13369 | 12 |
pankso@13369 | 13 DEPENDS="udev glib" |
pankso@13369 | 14 BUILD_DEPENDS="udev-dev glib-dev wget" |
pankso@13369 | 15 |
pankso@13369 | 16 # Rules to configure and make the package. |
pankso@13369 | 17 compile_rules() |
pankso@13369 | 18 { |
pankso@13369 | 19 cd $src |
pankso@13369 | 20 ./configure --prefix=/usr && |
pankso@13369 | 21 make && make install |
pankso@13369 | 22 } |
pankso@13369 | 23 |
pankso@13369 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13369 | 25 genpkg_rules() |
pankso@13369 | 26 { |
pankso@13369 | 27 mkdir -p $fs/usr |
pankso@13369 | 28 cp -a $install/etc $fs |
pankso@13369 | 29 cp -a $install/usr/bin $fs/usr |
pankso@13369 | 30 # Must be suid root |
pankso@13369 | 31 chmod +s $fs/usr/bin/udevil |
pankso@13369 | 32 } |