wok-next view libgudev/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents 757d032c55c7
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgudev"
4 VERSION="232"
5 CATEGORY="libdevel"
6 SHORT_DESC="GObject bindings for libudev"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/libgudev"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgudev.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
15 BUILD_DEPENDS="gtk-doc gobject-introspection-dev eudev-dev glib-dev"
16 SPLIT="libgudev-dev"
18 compile_rules() {
19 ./configure \
20 --disable-umockdev \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgudev)
30 copy @std
31 DEPENDS="eudev glib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libgudev glib-dev"
36 ;;
37 esac
38 }