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

syslinux (tiny edits)
author Paul Issott <paul@slitaz.org>
date Wed Oct 19 19:17:20 2016 +0100 (2016-10-19)
parents 7ba431b2174b
children 4b55a51aefa5
rev   line source
pankso@1008 1 # SliTaz package receipt.
pankso@1008 2
pankso@1008 3 PACKAGE="beaver"
slaxemulator@6297 4 VERSION="0.4.1"
al@19275 5 CATEGORY="text"
al@19275 6 SHORT_DESC="Simple and very light advanced text editor"
pankso@1008 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@19275 9 WEB_SITE="http://beaver-editor.sourceforge.net/"
erjo@5928 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@5928 11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
jozee@3567 12 TAGS="text-editor"
pankso@16281 13 HOST_ARCH="i486 arm"
al@19275 14 GENERIC_PIXMAPS="no"
pankso@16281 15
pascal@15002 16 DEPENDS="gtk+ xorg-libXdamage"
pankso@16281 17 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev"
al@19275 18 SPLIT="beaver-plugins"
pascal@15002 19
pankso@1008 20 # Rules to configure and make the package.
pankso@1008 21 compile_rules()
pankso@1008 22 {
pascal@13826 23 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
al@19275 24 patch -p1 -i $stuff/icon.patch
al@19275 25
al@19275 26 ./configure $CONFIGURE_ARGS && make && make install
al@19275 27
al@19275 28 cook_compress_png
pankso@1008 29 }
pankso@1008 30
pankso@1008 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1008 32 genpkg_rules()
pankso@1008 33 {
al@19275 34 cook_copy_files beaver
al@19275 35 cook_copy_icons
al@19275 36 mkdir -p $fs/usr/share/beaver
pascal@15002 37 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
al@19275 38
pankso@4831 39 # Custom default configuration
pankso@9697 40 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
pankso@1008 41 }