wok annotate beaver/receipt @ rev 14924
Up: firefox-langpack-zh_TW (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:30:32 2013 +0000 (2013-08-06) |
parents | e86d380d0a30 |
children | 7896f0694ef6 |
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" |
monghitri@13998 | 14 GENERIC_PIXMAPS="no" |
pankso@1008 | 15 |
pankso@1008 | 16 # Rules to configure and make the package. |
pankso@1008 | 17 compile_rules() |
pankso@1008 | 18 { |
pankso@1008 | 19 cd $src |
pascal@13826 | 20 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure |
pankso@4831 | 21 ./configure \ |
pankso@4831 | 22 --prefix=/usr \ |
pankso@4831 | 23 $CONFIGURE_ARGS && |
slaxemulator@11643 | 24 make && make DESTDIR=$DESTDIR install |
pankso@1008 | 25 } |
pankso@1008 | 26 |
pankso@1008 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1008 | 28 genpkg_rules() |
pankso@1008 | 29 { |
slaxemulator@11643 | 30 mkdir -p \ |
monghitri@13998 | 31 $fs/usr/share/beaver \ |
monghitri@13998 | 32 $fs/usr/share/icons/hicolor/32x32/ |
erjo@5928 | 33 |
pankso@4831 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@4831 | 35 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver |
monghitri@13998 | 36 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps $fs/usr/share/icons/hicolor/32x32/ |
pascal@11622 | 37 |
pankso@4831 | 38 # Custom default configuration |
pankso@9697 | 39 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource |
pankso@1008 | 40 } |