wok annotate beaver/receipt @ rev 16556

Up: spk (1.4.2) - Critical bug fix for config files
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 30 14:37:37 2014 +0200 (2014-04-30)
parents 7896f0694ef6
children 11b5e93cb5f2
rev   line source
pankso@1008 1 # SliTaz package receipt.
pankso@1008 2
pankso@1008 3 PACKAGE="beaver"
slaxemulator@6297 4 VERSION="0.4.1"
pankso@1008 5 CATEGORY="development"
pankso@1008 6 SHORT_DESC="Simple and very light advanced text editor."
pankso@1008 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@5928 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@5928 10 WEB_SITE="http://beaver-editor.sf.net/"
erjo@5928 11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
jozee@3567 12 TAGS="text-editor"
pankso@16281 13 HOST_ARCH="i486 arm"
pankso@16281 14
monghitri@13998 15 GENERIC_PIXMAPS="no"
pascal@15002 16 DEPENDS="gtk+ xorg-libXdamage"
pankso@16281 17 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev"
pascal@15002 18
pankso@1008 19 # Rules to configure and make the package.
pankso@1008 20 compile_rules()
pankso@1008 21 {
pascal@13826 22 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
pankso@4831 23 ./configure \
pankso@4831 24 $CONFIGURE_ARGS &&
pankso@16281 25 make && make install
pankso@1008 26 }
pankso@1008 27
pankso@1008 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1008 29 genpkg_rules()
pankso@1008 30 {
slaxemulator@11643 31 mkdir -p \
monghitri@13998 32 $fs/usr/share/beaver \
monghitri@13998 33 $fs/usr/share/icons/hicolor/32x32/
erjo@5928 34
pascal@15002 35 cp -a $install/usr/bin $fs/usr
pascal@15002 36 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
pankso@16281 37 cp -a $install/usr/share/icons/hicolor/32x32/apps \
pankso@16281 38 $fs/usr/share/icons/hicolor/32x32/
pascal@11622 39
pankso@4831 40 # Custom default configuration
pankso@9697 41 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
pankso@1008 42 }