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