wok annotate kkedit/receipt @ rev 24280
updated redis (5.0.8 -> 6.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 10 17:09:47 2022 +0100 (2022-01-10) |
parents | 166df6b2da67 |
children | 20ad21d5532c |
rev | line source |
---|---|
al@14427 | 1 # SliTaz package receipt. |
al@14427 | 2 |
al@14427 | 3 PACKAGE="kkedit" |
Hans-G?nter@22987 | 4 VERSION="0.4.2" |
al@14427 | 5 CATEGORY="development" |
Hans-G?nter@22987 | 6 SHORT_DESC="Source code text editor." |
al@14427 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@22987 | 9 WEB_SITE="https://github.com/KeithDHedger/KKEdit" |
Hans-G?nter@22987 | 10 |
al@14427 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22988 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
al@14427 | 13 |
Hans-G?nter@22987 | 14 SUGGESTED="aspell" |
al@14427 | 15 DEPENDS="gtk+ gtksourceview libunique" |
Hans-G?nter@22987 | 16 BUILD_DEPENDS="aspell-dev autoconf automake ctags gtk+-dev |
Hans-G?nter@22987 | 17 gtksourceview-dev libtool libunique-dev libxml2-dev vte-dev" |
al@14427 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
al@14427 | 25 # Rules to configure and make the package. |
al@14427 | 26 compile_rules() |
al@14427 | 27 { |
Hans-G?nter@22987 | 28 ./configure \ |
Hans-G?nter@22987 | 29 --disable-docviewer \ |
Hans-G?nter@22987 | 30 --prefix=/usr && |
al@14427 | 31 make && |
al@14427 | 32 make install |
al@14427 | 33 } |
al@14427 | 34 |
al@14427 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 36 genpkg_rules() |
al@14427 | 37 { |
Hans-G?nter@22987 | 38 mkdir -p $fs/usr/share/KKEdit |
Hans-G?nter@22987 | 39 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22987 | 40 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22987 | 41 |
Hans-G?nter@22987 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22987 | 43 cp -a $stuff/*.desktop $fs/usr/share/applications |
Hans-G?nter@22987 | 44 cp -a $stuff/*.png $fs/usr/share/pixmaps |
Hans-G?nter@22987 | 45 cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit |
al@14427 | 46 } |