wok-next annotate libgudev/receipt @ rev 20406

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
parents 133288c02003
children 0e7893ac206d
rev   line source
al@19842 1 # SliTaz package receipt v2.
gokhlayeh@8055 2
gokhlayeh@8055 3 PACKAGE="libgudev"
al@19842 4 VERSION="231"
al@19691 5 CATEGORY="libdevel"
al@19691 6 SHORT_DESC="GObject bindings for libudev"
gokhlayeh@8055 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19691 9 WEB_SITE="https://wiki.gnome.org/Projects/libgudev"
al@20406 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgudev.html"
pankso@16067 11 HOST_ARCH="i486 arm"
gokhlayeh@8055 12
al@19691 13 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19691 14 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
al@19691 15
al@19691 16 BUILD_DEPENDS="gtk-doc gobject-introspection-dev eudev-dev glib-dev"
al@19842 17 SPLIT="libgudev-dev"
al@19691 18
al@20406 19 compile_rules() {
al@20406 20 fix ld
al@19842 21 ./configure \
al@19842 22 --disable-umockdev \
al@19842 23 $CONFIGURE_ARGS &&
al@20406 24 fix libtool &&
al@19842 25 make && make install
al@19691 26 }
pascal@15000 27
al@20406 28 genpkg_rules() {
al@19842 29 case $PACKAGE in
al@20406 30 libgudev)
al@20406 31 copy @std
al@20406 32 DEPENDS="eudev glib"
al@20406 33 ;;
al@20406 34 *-dev)
al@20406 35 copy @dev
al@20406 36 DEPENDS="libgudev eudev-dev glib-dev libffi-dev pcre-dev \
al@20406 37 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
al@20406 38 zlib-dev"
al@20406 39 ;;
al@19842 40 esac
gokhlayeh@8055 41 }