wok-current annotate kkedit/receipt @ rev 15030
netatalk: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 09:52:48 2013 +0000 (2013-08-12) |
parents | 3e624caa6f01 |
children | bb3ad5d937fc |
rev | line source |
---|---|
al@14427 | 1 # SliTaz package receipt. |
al@14427 | 2 |
al@14427 | 3 PACKAGE="kkedit" |
al@14427 | 4 VERSION="0.0.12" |
al@14427 | 5 CATEGORY="development" |
al@14427 | 6 SHORT_DESC="Source code text editor" |
al@14427 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
al@14427 | 9 WEB_SITE="http://keithhedger.hostingsiteforfree.com/pages/kkedit/help.html" |
al@14427 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14427 | 11 WGET_URL="http://keithhedger.hostingsiteforfree.com/zips/kkedit/KKEdit-$VERSION.tar.gz" |
al@14427 | 12 |
al@14427 | 13 DEPENDS="gtk+ gtksourceview libunique" |
al@14427 | 14 BUILD_DEPENDS="automake autoconf gtk+-dev gtksourceview-dev libunique-dev \ |
al@14427 | 15 ctags libxml2-dev" |
al@14427 | 16 |
al@14427 | 17 # Rules to configure and make the package. |
al@14427 | 18 compile_rules() |
al@14427 | 19 { |
al@14427 | 20 ./autogen.sh --prefix=/usr && |
al@14427 | 21 sed -i '129 c\ |
al@14427 | 22 GTKSRC_CFLAGS = $(pkg-config --cflags gtksourceview-2.0)' $src/Makefile && |
al@14427 | 23 make && |
al@14427 | 24 make install |
al@14427 | 25 } |
al@14427 | 26 |
al@14427 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 28 genpkg_rules() |
al@14427 | 29 { |
al@14427 | 30 mkdir -p \ |
al@14427 | 31 $fs/usr/share/KKEdit \ |
al@14427 | 32 $fs/usr/share/applications \ |
al@14427 | 33 $fs/usr/share/pixmaps |
al@14427 | 34 cp -a $install/usr/bin $fs/usr |
al@14427 | 35 cp -a $stuff/*.desktop $fs/usr/share/applications |
al@14427 | 36 cp -a $stuff/*.png $fs/usr/share/pixmaps |
al@14427 | 37 cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit |
al@14427 | 38 } |