wok view leafpad/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents f68aece3ada3
children
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 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/href="'$PACKAGE'-[0-9]/!d;/tar/!d;s|.*>'$PACKAGE'-||;s|.tar.*||' | \
23 sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 chmod +x install-sh
30 patch -p1 -i $stuff/icon.patch
32 ./configure $CONFIGURE_ARGS && make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }