wok-6.x view mate-control-center/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 3b7cc54f6022 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-control-center"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="The control center for MATE Desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
13 DEPENDS="gtk+ caja desktop-file-utils libxklavier libgtop librsvg xorg-libICE \
14 xorg-libSM xorg-libXt startup-notification gsettings-desktop-schemas \
15 mate-settings-daemon"
16 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool libunique-dev \
17 dconf-dev mate-common-dev mate-desktop-dev mate-menus-dev mate-settings-daemon-dev \
18 libxklavier-dev libmatekbd-dev marco-dev libgtop-dev librsvg-dev dbus-glib-dev \
19 yelp-tools xorg-libXss-dev xorg-libXt-dev startup-notification-dev \
20 util-linux-uuid-dev libcanberra-dev desktop-file-utils xcb-util-dev libcroco-dev"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/share $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings
51 # don't overwrite system MIME database, get only packages/*.xml files
52 rm -rf $fs/usr/share/mime/*
53 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
54 }