wok-current annotate cssed/receipt @ rev 13830
eboard: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 12:12:01 2013 +0100 (2013-01-07) |
parents | 02ae81877dfd |
children | 95f617f68721 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="cssed" |
pascal@11219 | 4 VERSION="0.4.0" |
pascal@11219 | 5 CATEGORY="development" |
pascal@11219 | 6 SHORT_DESC="A GTK-2 CSS editor" |
pascal@11219 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@11219 | 8 WEB_SITE="http://cssed.sourceforge.net" |
pascal@11219 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11219 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11219 | 11 |
pascal@11219 | 12 DEPENDS="gtk+" |
pascal@13830 | 13 BUILD_DEPENDS="gtk+-dev libxml2-dev" |
pascal@11219 | 14 |
pascal@11219 | 15 # Rules to configure and make the package. |
pascal@11219 | 16 compile_rules() |
pascal@11219 | 17 { |
pascal@11219 | 18 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx |
pascal@11219 | 19 ./configure $CONFIGURE_ARGS && |
pascal@11219 | 20 make && |
pascal@11219 | 21 make install |
pascal@11219 | 22 } |
pascal@11219 | 23 |
pascal@11219 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 25 genpkg_rules() |
pascal@11219 | 26 { |
pascal@11219 | 27 mkdir -p $fs/usr/share |
pascal@11219 | 28 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@11219 | 29 cp -a $install/usr/bin $fs/usr |
pascal@11219 | 30 } |