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

Up: gnutls, gnutls-dev, libgnutls (2.8.6)
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 05 03:30:03 2010 +0000 (2010-05-05)
parents e1a68e5d0646
children b843d4d03bfa
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"
erjo@4833 10 BUILD_DEPENDS="gtk+-dev xorg-xproto automake autoconf"
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
erjo@4833 21 # Fix bug with DESTDIR
erjo@4833 22 patch -p1 -i ../stuff/makefile.am.u || exit 1
pankso@4831 23 ./autogen.sh &&
pankso@4831 24 ./configure \
pankso@4831 25 --prefix=/usr \
pankso@4831 26 $CONFIGURE_ARGS &&
pankso@4831 27 make && make DESTDIR=$PWD/_pkg install
pankso@1008 28 }
pankso@1008 29
pankso@1008 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1008 31 genpkg_rules()
pankso@1008 32 {
pankso@1008 33 mkdir -p \
pankso@4831 34 $fs/usr/share/beaver \
pankso@4831 35 $fs/usr/share/pixmaps
pankso@4831 36 cp -a $_pkg/usr/bin $fs/usr
pankso@4831 37 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
pankso@4831 38 cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps
pankso@4831 39 # Custom default configuration
pankso@4831 40 cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource
pankso@1008 41 }