wok-next view system-tools-backends/receipt @ rev 21094
Apply "force-arch" for selected dev packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 31 17:23:40 2018 +0200 (2018-12-31) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="system-tools-backends"
4 VERSION="2.10.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNOME System Tools backends"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://system-tools-backends.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 COOKOPTS="force-arch" # different 'Makefile's
16 BUILD_DEPENDS="dbus-dev polkit-dev dbus-glib-dev glib-dev intltool perl-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 system-tools-backends)
29 copy @std
30 DEPENDS="dbus dbus-glib glib perl polkit"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }