wok-next diff xpad/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line diff
     1.1 --- a/xpad/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/xpad/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,29 +4,29 @@
     1.4  VERSION="4.1"
     1.5  CATEGORY="utilities"
     1.6  SHORT_DESC="Sticky note application for X"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL3"
    1.10  WEB_SITE="https://launchpad.net/xpad"
    1.11 +
    1.12  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13  WGET_URL="https://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL"
    1.14 -HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad"
    1.15  
    1.16 -DEPENDS="gtk2 util-linux-uuid xorg-libICE xorg-libSM"
    1.17  BUILD_DEPENDS="gtk2-dev xorg-libSM-dev intltool"
    1.18  COOKOPTS="!pixmaps"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad"
    1.24 +
    1.25 +compile_rules() {
    1.26  	sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c
    1.27 +
    1.28  	./configure $CONFIGURE_ARGS &&
    1.29 -	make && make install
    1.30 +	make &&
    1.31 +	make install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/
    1.39  	cp -a $install/usr/bin $fs/usr
    1.40  	cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/
    1.41 +	DEPENDS="gtk2 util-linux-uuid xorg-libICE xorg-libSM"
    1.42  }