wok view leafpad/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 88bfe1283cac
children f68aece3ada3
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.18.1"
5 CATEGORY="utilities"
6 SHORT_DESC="GTK simple text editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tarot.freeshell.org/leafpad/"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
14 GENERIC_PIXMAPS="no"
16 DEPENDS="gtk+ xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 chmod +x install-sh
23 ./configure \
24 --disable-print \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/pixmaps/leafpad.png \
35 $fs/usr/share/icons/hicolor/48x48/apps
36 }