wok-current diff 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 |
line diff
1.1 --- a/beaver/receipt Thu Jun 25 10:34:30 2009 +0000 1.2 +++ b/beaver/receipt Thu Jan 21 23:14:05 2010 +0100 1.3 @@ -1,31 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="beaver" 1.7 -VERSION="0.3.0.1" 1.8 +# Stable: VERSION="0.3.0.1" 1.9 +VERSION="0.4.0rc1" 1.10 CATEGORY="development" 1.11 SHORT_DESC="Simple and very light advanced text editor." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 DEPENDS="gtk+ xorg-libXdamage" 1.14 BUILD_DEPENDS="gtk+-dev xorg-xproto" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WEB_SITE="http://www.nongnu.org/beaver/" 1.18 -WGET_URL="http://mirror.slitaz.org/sources/packages/b/$TARBALL" 1.19 +WGET_URL="http://www.nongnu.org/beaver/dloads/tarballs/$TARBALL" 1.20 TAGS="text-editor" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 + mv beaver0.4.0 $src 2>/dev/null 1.26 cd $src 1.27 - make 1.28 + ./autogen.sh && 1.29 + ./configure \ 1.30 + --prefix=/usr \ 1.31 + $CONFIGURE_ARGS && 1.32 + make && make DESTDIR=$PWD/_pkg install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 mkdir -p \ 1.39 - $fs/usr/bin \ 1.40 - $fs/usr/share/pixmaps \ 1.41 - $fs/usr/share/applications 1.42 - cp $src/src/beaver $fs/usr/bin 1.43 - cp $src/pixmaps/beaver.png $fs/usr/share/pixmaps 1.44 + $fs/usr/share/beaver \ 1.45 + $fs/usr/share/pixmaps 1.46 + cp -a $_pkg/usr/bin $fs/usr 1.47 + cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver 1.48 + cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps 1.49 + # Custom default configuration 1.50 + cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource 1.51 }