wok annotate garcon/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents 9053833522ce
children cfb29dc98daa
rev   line source
erjo@8014 1 # SliTaz package receipt.
erjo@8014 2
erjo@8014 3 PACKAGE="garcon"
devl547@16295 4 VERSION="0.3.0"
erjo@8014 5 CATEGORY="misc"
erjo@8014 6 SHORT_DESC="Xfce menu library"
erjo@8014 7 MAINTAINER="erjo@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
erjo@8014 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.xfce.org"
devl547@16295 11 WGET_URL="http://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
erjo@8014 12
devl547@16295 13 DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
devl547@16295 14 BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
pascal@19744 15 util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev"
pascal@15004 16
erjo@8014 17 # Rules to configure and make the package.
erjo@8014 18 compile_rules()
erjo@8014 19 {
erjo@8014 20 cd $src
erjo@8014 21 ./configure \
erjo@8014 22 --prefix=/usr \
erjo@8014 23 --infodir=/usr/share/info \
erjo@8014 24 --sysconfdir=/etc \
erjo@8014 25 --disable-login \
erjo@8014 26 --mandir=/usr/share/man \
erjo@8014 27 $CONFIGURE_ARGS &&
pascal@13762 28 make && make DESTDIR=$DESTDIR install
erjo@8014 29 }
erjo@8014 30
erjo@8014 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8014 32 genpkg_rules()
erjo@8014 33 {
erjo@8014 34 mkdir -p $fs/usr \
erjo@8014 35 $fs/usr/share \
erjo@8014 36 $fs/usr/lib
erjo@8014 37
pascal@13762 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13762 39 cp -a $install/etc $fs/
pascal@13762 40 cp -a $install/usr/share/desktop* $fs/usr/share
erjo@8014 41 }
erjo@8014 42