wok-next annotate libgudev/receipt @ rev 20115
stellarium: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 11:43:10 2017 +0100 (2017-10-30) |
parents | f463de72afe3 |
children | 2d54d154d5ca |
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" |
pankso@16067 | 10 HOST_ARCH="i486 arm" |
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@19842 | 16 SPLIT="libgudev-dev" |
al@19691 | 17 |
al@19691 | 18 # Rules to configure and make the package. |
al@19691 | 19 compile_rules() |
al@19691 | 20 { |
al@19842 | 21 ./configure \ |
al@19842 | 22 --disable-umockdev \ |
al@19842 | 23 $CONFIGURE_ARGS && |
al@19842 | 24 make && make install |
al@19691 | 25 } |
pascal@15000 | 26 |
gokhlayeh@8055 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8055 | 28 genpkg_rules() |
gokhlayeh@8055 | 29 { |
al@19842 | 30 case $PACKAGE in |
al@19842 | 31 libgudev) copy @std; DEPENDS="eudev glib libffi pcre zlib";; |
al@19842 | 32 *-dev) copy @dev; DEPENDS="libgudev eudev-dev glib-dev glibc-dev \ |
al@19842 | 33 libffi-dev pcre-dev zlib-dev";; |
al@19842 | 34 esac |
gokhlayeh@8055 | 35 } |