wok annotate l3afpad/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (12 days ago) |
parents | 5ea0ce1cecc0 |
children |
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@25600 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pascal@15721 | 25 # Rules to configure and make the package. |
pascal@15721 | 26 compile_rules() |
pascal@15721 | 27 { |
Hans-G?nter@22991 | 28 ./autogen.sh && |
Hans-G?nter@22991 | 29 ./configure \ |
Hans-G?nter@22991 | 30 --enable-gtkgrid \ |
Hans-G?nter@22991 | 31 --enable-search-history \ |
pascal@15721 | 32 $CONFIGURE_ARGS && |
pascal@15721 | 33 make && |
pascal@15721 | 34 make install |
pascal@15721 | 35 } |
pascal@15721 | 36 |
pascal@15721 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 38 genpkg_rules() |
pascal@15721 | 39 { |
pascal@15721 | 40 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22991 | 41 |
Hans-G?nter@22991 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22991 | 43 cp -a $install/usr/share/pixmaps/*.png $fs/usr/share/pixmaps |
pascal@15721 | 44 } |