wok-4.x annotate beaver/receipt @ rev 4831

Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:14:05 2010 +0100 (2010-01-21)
parents 4ffc7c76d358
children 8eb12df059bb
rev   line source
pankso@1008 1 # SliTaz package receipt.
pankso@1008 2
pankso@1008 3 PACKAGE="beaver"
pankso@4831 4 # Stable: VERSION="0.3.0.1"
pankso@4831 5 VERSION="0.4.0rc1"
pankso@1008 6 CATEGORY="development"
pankso@1008 7 SHORT_DESC="Simple and very light advanced text editor."
pankso@1008 8 MAINTAINER="pankso@slitaz.org"
pascal@2511 9 DEPENDS="gtk+ xorg-libXdamage"
pascal@1460 10 BUILD_DEPENDS="gtk+-dev xorg-xproto"
pankso@4831 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1008 12 WEB_SITE="http://www.nongnu.org/beaver/"
pankso@4831 13 WGET_URL="http://www.nongnu.org/beaver/dloads/tarballs/$TARBALL"
jozee@3567 14 TAGS="text-editor"
pankso@1008 15
pankso@1008 16 # Rules to configure and make the package.
pankso@1008 17 compile_rules()
pankso@1008 18 {
pankso@4831 19 mv beaver0.4.0 $src 2>/dev/null
pankso@1008 20 cd $src
pankso@4831 21 ./autogen.sh &&
pankso@4831 22 ./configure \
pankso@4831 23 --prefix=/usr \
pankso@4831 24 $CONFIGURE_ARGS &&
pankso@4831 25 make && make DESTDIR=$PWD/_pkg 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 {
pankso@1008 31 mkdir -p \
pankso@4831 32 $fs/usr/share/beaver \
pankso@4831 33 $fs/usr/share/pixmaps
pankso@4831 34 cp -a $_pkg/usr/bin $fs/usr
pankso@4831 35 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
pankso@4831 36 cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps
pankso@4831 37 # Custom default configuration
pankso@4831 38 cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource
pankso@1008 39 }