wok-current annotate udevil/receipt @ rev 13852

Up: xz (5.0.4)
author Alexander Medvedev <devl547@gmail.com>
date Thu Jan 10 01:43:19 2013 +0300 (2013-01-10)
parents 63fd5f8d7367
children e074c6ae1cb0
rev   line source
pankso@13369 1 # SliTaz package receipt.
pankso@13369 2
pankso@13369 3 PACKAGE="udevil"
pascal@13771 4 VERSION="0.3.6"
pankso@13369 5 CATEGORY="system-tools"
pankso@13369 6 SHORT_DESC="Fast and light devices manager."
pankso@13369 7 MAINTAINER="pankso@slitaz.org"
pankso@13369 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@13369 9 WEB_SITE="http://ignorantguru.github.com/udevil/"
pankso@13369 10 WGET_URL="https://raw.github.com/IgnorantGuru/udevil/master/packages/$VERSION/$TARBALL"
pankso@13369 11
pankso@13369 12 DEPENDS="udev glib"
pankso@13369 13 BUILD_DEPENDS="udev-dev glib-dev wget"
pankso@13369 14
pankso@13369 15 # Rules to configure and make the package.
pankso@13369 16 compile_rules()
pankso@13369 17 {
pankso@13369 18 cd $src
pankso@13369 19 ./configure --prefix=/usr &&
pankso@13369 20 make && make install
pankso@13369 21 }
pankso@13369 22
pankso@13369 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13369 24 genpkg_rules()
pankso@13369 25 {
pankso@13369 26 mkdir -p $fs/usr
pankso@13369 27 cp -a $install/etc $fs
pankso@13369 28 cp -a $install/usr/bin $fs/usr
pankso@13369 29 # Must be suid root
pankso@13369 30 chmod +s $fs/usr/bin/udevil
pankso@13369 31 }