wok-next diff mousepad/receipt @ rev 20259
xsave: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 18:34:13 2017 +0100 (2017-11-07) |
parents | 2e544f80e288 |
children | 6d367d984b77 |
line diff
1.1 --- a/mousepad/receipt Sun Nov 01 11:36:32 2015 +0100 1.2 +++ b/mousepad/receipt Tue Nov 07 18:34:13 2017 +0100 1.3 @@ -1,36 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mousepad" 1.8 -VERSION="0.3.0" 1.9 +VERSION="0.4.0" 1.10 CATEGORY="x-window" 1.11 -SHORT_DESC="Xfce Text Editor" 1.12 +SHORT_DESC="Xfce text editor" 1.13 MAINTAINER="erjo@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://www.xfce.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://www.xfce.org/" 1.19 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 -TAGS="text-editor" 1.21 1.22 -DEPENDS="gtk+ xorg-libXdamage dbus-glib gtksourceview" 1.23 -BUILD_DEPENDS="intltool gtk+-dev dbus-glib-dev gtksourceview-dev" 1.24 +BUILD_DEPENDS="intltool gtk+-dev gtksourceview-dev dbus-glib-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 - ./configure --prefix=/usr \ 1.30 - --enable-debug=no \ 1.31 - --mandir=/usr/share/man $CONFIGURE_ARGS && \ 1.32 - make && make DESTDIR=$DESTDIR install 1.33 +compile_rules() { 1.34 + ./configure \ 1.35 + --sysconfdir=/etc \ 1.36 + --localstatedir=/var \ 1.37 + --disable-debug \ 1.38 + $CONFIGURE_ARGS && 1.39 + make && 1.40 + make install 1.41 } 1.42 1.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 -genpkg_rules() 1.45 -{ 1.46 - mkdir -p $fs/usr/share/locale 1.47 - 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - cp -a $install/usr/share/locale/fr $fs/usr/share/locale 1.50 - cp -a $install/usr/share/locale/ru $fs/usr/share/locale 1.51 - cp -a $install/usr/share/applications $fs/usr/share 1.52 +genpkg_rules() { 1.53 + copy @std 1.54 + DEPENDS="dbus dbus-glib glib gtk+ gtksourceview pango" 1.55 + TAGS="Xfce text-editor" 1.56 } 1.57 -