wok-6.x annotate beaver/receipt @ rev 12831
elfutils: cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 16:24:28 2012 +0200 (2012-05-22) |
parents | 7fb09aed8649 |
children | e86d380d0a30 |
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@2511 | 8 DEPENDS="gtk+ xorg-libXdamage" |
slaxemulator@6297 | 9 BUILD_DEPENDS="gtk+-dev xorg-xproto intltool expat-dev" |
erjo@5928 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@5928 | 11 WEB_SITE="http://beaver-editor.sf.net/" |
erjo@5928 | 12 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL" |
jozee@3567 | 13 TAGS="text-editor" |
pankso@1008 | 14 |
pankso@1008 | 15 # Rules to configure and make the package. |
pankso@1008 | 16 compile_rules() |
pankso@1008 | 17 { |
pankso@1008 | 18 cd $src |
pankso@4831 | 19 ./configure \ |
pankso@4831 | 20 --prefix=/usr \ |
pankso@4831 | 21 $CONFIGURE_ARGS && |
slaxemulator@11643 | 22 make && make DESTDIR=$DESTDIR install |
pankso@1008 | 23 } |
pankso@1008 | 24 |
pankso@1008 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1008 | 26 genpkg_rules() |
pankso@1008 | 27 { |
slaxemulator@11643 | 28 mkdir -p \ |
erjo@5928 | 29 $fs/usr/share/beaver |
erjo@5928 | 30 |
pankso@4831 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@4831 | 32 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver |
slaxemulator@6297 | 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@11622 | 34 |
pankso@4831 | 35 # Custom default configuration |
pankso@9697 | 36 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource |
pankso@1008 | 37 } |