wok-6.x annotate beaver/receipt @ rev 15008

strigi, cryptsetup: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 10:33:55 2013 +0000 (2013-08-11)
parents 475fde14b011
children 7ba431b2174b
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"
monghitri@13998 13 GENERIC_PIXMAPS="no"
pankso@1008 14
pascal@15002 15 DEPENDS="gtk+ xorg-libXdamage"
pascal@15002 16 BUILD_DEPENDS="gtk+-dev xorg-xproto intltool expat-dev"
pascal@15002 17
pankso@1008 18 # Rules to configure and make the package.
pankso@1008 19 compile_rules()
pankso@1008 20 {
pankso@1008 21 cd $src
pascal@13826 22 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
pankso@4831 23 ./configure \
pankso@4831 24 --prefix=/usr \
pankso@4831 25 $CONFIGURE_ARGS &&
slaxemulator@11643 26 make && make DESTDIR=$DESTDIR install
pankso@1008 27 }
pankso@1008 28
pankso@1008 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1008 30 genpkg_rules()
pankso@1008 31 {
slaxemulator@11643 32 mkdir -p \
monghitri@13998 33 $fs/usr/share/beaver \
monghitri@13998 34 $fs/usr/share/icons/hicolor/32x32/
erjo@5928 35
pascal@15002 36 cp -a $install/usr/bin $fs/usr
pascal@15002 37 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
pascal@15002 38 cp -a $install/usr/share/icons/hicolor/32x32/apps $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 }