wok annotate mate-panel/receipt @ rev 20556
gcc3: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:05:39 2018 +0100 (2018-12-12) |
parents | 6fab3264ba87 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
yuripourre@18078 | 1 # SliTaz package receipt. |
yuripourre@18078 | 2 |
yuripourre@18078 | 3 PACKAGE="mate-panel" |
yuripourre@18078 | 4 VERSION="1.9.1" |
yuripourre@18078 | 5 CATEGORY="utilities" |
yuripourre@18078 | 6 LICENSE="GPL3" |
yuripourre@18078 | 7 SHORT_DESC="Panel where you can run applications and applets using MATE." |
yuripourre@18078 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18078 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@18078 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@18078 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18280 | 12 TAGS="MATE" |
yuripourre@18488 | 13 DEPENDS="gtk+ dconf mate-menus caja libmateweather marco \ |
yuripourre@18488 | 14 mate-desktop mate-session-manager" |
yuripourre@18078 | 15 BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \ |
yuripourre@18078 | 16 gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \ |
yuripourre@18078 | 17 harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \ |
yuripourre@18078 | 18 libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \ |
pascal@19779 | 19 libmateweather-dev libsoup-dev sqlite-dev libcroco-dev" |
yuripourre@18078 | 20 |
yuripourre@18078 | 21 # Rules to configure and make the package. |
yuripourre@18078 | 22 compile_rules() |
yuripourre@18078 | 23 { |
al@18741 | 24 ./autogen.sh \ |
yuripourre@18078 | 25 --prefix=/usr \ |
yuripourre@18079 | 26 --sysconfdir=/etc \ |
yuripourre@18079 | 27 --localstatedir=/var \ |
yuripourre@18080 | 28 --disable-introspection\ |
yuripourre@18079 | 29 --disable-static \ |
yuripourre@18078 | 30 $CONFIGURE_ARGS && |
yuripourre@18078 | 31 make && |
yuripourre@18078 | 32 make DESTDIR=$DESTDIR install |
yuripourre@18078 | 33 } |
yuripourre@18078 | 34 |
yuripourre@18078 | 35 genpkg_rules() |
yuripourre@18078 | 36 { |
yuripourre@18080 | 37 mkdir -p $fs/usr/lib |
yuripourre@18080 | 38 cp -a $install/usr/bin $fs/usr |
yuripourre@18078 | 39 cp -a $install/usr/share $fs/usr |
yuripourre@18080 | 40 cp -a $install/usr/libexec $fs/usr |
yuripourre@18080 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18488 | 42 rm -rf $install/usr/share/help |
al@18741 | 43 |
yuripourre@18489 | 44 # Autostart |
al@18741 | 45 mkdir -p $fs/etc/xdg/autostart/ |
yuripourre@18489 | 46 cp -a $install/usr/share/applications/* $fs/etc/xdg/autostart/ |
yuripourre@18078 | 47 } |