wok annotate kkedit/receipt @ rev 23761
Up linux-cloop (4.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 04 09:05:12 2020 +0000 (2020-05-04) |
parents | 5e709d3fb59d |
children | 5ea0ce1cecc0 |
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 |
al@14427 | 19 # Rules to configure and make the package. |
al@14427 | 20 compile_rules() |
al@14427 | 21 { |
Hans-G?nter@22987 | 22 ./configure \ |
Hans-G?nter@22987 | 23 --disable-docviewer \ |
Hans-G?nter@22987 | 24 --prefix=/usr && |
al@14427 | 25 make && |
al@14427 | 26 make install |
al@14427 | 27 } |
al@14427 | 28 |
al@14427 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 30 genpkg_rules() |
al@14427 | 31 { |
Hans-G?nter@22987 | 32 mkdir -p $fs/usr/share/KKEdit |
Hans-G?nter@22987 | 33 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22987 | 34 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22987 | 35 |
Hans-G?nter@22987 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22987 | 37 cp -a $stuff/*.desktop $fs/usr/share/applications |
Hans-G?nter@22987 | 38 cp -a $stuff/*.png $fs/usr/share/pixmaps |
Hans-G?nter@22987 | 39 cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit |
al@14427 | 40 } |