wok-6.x view l3afpad/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents 3e2db8247a86
children
line source
1 # SliTaz package receipt.
3 PACKAGE="l3afpad"
4 VERSION="0.8.18.1.11"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="Simple text editor forked from Leafpad, supports GTK+ 3.x"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://github.com/stevenhoneyman/l3afpad"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
15 DEPENDS="gtk+3"
16 BUILD_DEPENDS="autoconf automake gtk+3-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --enable-gtkgrid \
30 --enable-search-history \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/pixmaps/*.png $fs/usr/share/pixmaps
43 }