wok-current view mate-control-center/receipt @ rev 21196

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 10:33:42 2019 +0200 (2019-04-06)
parents 9198bdfcf87f
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings
45 # don't overwrite system MIME database, get only packages/*.xml files
46 rm -rf $fs/usr/share/mime/*
47 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
48 }