wok view l3afpad/receipt @ rev 25791
Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 23 13:27:53 2024 +0000 (2 months ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --enable-gtkgrid \
31 --enable-search-history \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/pixmaps/*.png $fs/usr/share/pixmaps
44 }