wok annotate l3afpad/receipt @ rev 25192

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