wok diff kkedit/receipt @ rev 14751

busybox-boot: create /usr/share/boot/initrd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 19:48:35 2013 +0200 (2013-06-16)
parents
children 2b9f96603415
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kkedit/receipt	Sun Jun 16 19:48:35 2013 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="kkedit"
     1.7 +VERSION="0.0.12"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Source code text editor"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://keithhedger.hostingsiteforfree.com/pages/kkedit/help.html"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://keithhedger.hostingsiteforfree.com/zips/kkedit/KKEdit-$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="gtk+ gtksourceview libunique"
    1.17 +BUILD_DEPENDS="automake autoconf gtk+-dev gtksourceview-dev libunique-dev \
    1.18 +ctags libxml2-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./autogen.sh --prefix=/usr &&
    1.24 +	sed -i '129 c\
    1.25 +GTKSRC_CFLAGS = $(pkg-config --cflags gtksourceview-2.0)' $src/Makefile &&
    1.26 +	make &&
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p \
    1.34 +		$fs/usr/share/KKEdit \
    1.35 +		$fs/usr/share/applications \
    1.36 +		$fs/usr/share/pixmaps
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $stuff/*.desktop $fs/usr/share/applications
    1.39 +	cp -a $stuff/*.png $fs/usr/share/pixmaps
    1.40 +	cp -a $install/usr/share/KKEdit/tools $fs/usr/share/KKEdit
    1.41 +}