wok-next annotate libgudev/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 33293021c26d |
rev | line source |
---|---|
al@19842 | 1 # SliTaz package receipt v2. |
gokhlayeh@8055 | 2 |
gokhlayeh@8055 | 3 PACKAGE="libgudev" |
al@20679 | 4 VERSION="232" |
al@19691 | 5 CATEGORY="libdevel" |
al@19691 | 6 SHORT_DESC="GObject bindings for libudev" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19691 | 9 WEB_SITE="https://wiki.gnome.org/Projects/libgudev" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libgudev.html" |
gokhlayeh@8055 | 11 |
al@19691 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19691 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
al@19691 | 14 |
al@19691 | 15 BUILD_DEPENDS="gtk-doc gobject-introspection-dev eudev-dev glib-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@19691 | 17 |
al@20406 | 18 compile_rules() { |
al@19842 | 19 ./configure \ |
al@19842 | 20 --disable-umockdev \ |
al@19842 | 21 $CONFIGURE_ARGS && |
al@20406 | 22 fix libtool && |
al@20534 | 23 make && |
al@20534 | 24 make install |
al@19691 | 25 } |
pascal@15000 | 26 |
al@20406 | 27 genpkg_rules() { |
al@19842 | 28 case $PACKAGE in |
al@20406 | 29 libgudev) |
al@20406 | 30 copy @std |
al@20406 | 31 DEPENDS="eudev glib" |
al@20406 | 32 ;; |
al@20406 | 33 *-dev) |
al@20406 | 34 copy @dev |
al@20443 | 35 DEPENDS="libgudev glib-dev" |
al@20406 | 36 ;; |
al@19842 | 37 esac |
gokhlayeh@8055 | 38 } |