wok-next annotate beaver/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 6befec62b46c |
children | d5aab818505e |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
pankso@1008 | 2 |
pankso@1008 | 3 PACKAGE="beaver" |
slaxemulator@6297 | 4 VERSION="0.4.1" |
al@19275 | 5 CATEGORY="text" |
al@19275 | 6 SHORT_DESC="Simple and very light advanced text editor" |
pankso@1008 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://beaver-editor.sourceforge.net/" |
al@19816 | 10 |
erjo@5928 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19816 | 12 WGET_URL="$SF_MIRROR/beaver-editor/$TARBALL" |
pankso@16281 | 13 |
al@21017 | 14 BUILD_DEPENDS="intltool gtk2-dev" |
al@19275 | 15 SPLIT="beaver-plugins" |
pascal@15002 | 16 |
al@20569 | 17 compile_rules() { |
pascal@13826 | 18 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure |
al@19275 | 19 |
al@20569 | 20 ./configure $CONFIGURE_ARGS && |
al@20569 | 21 fix libtool && |
al@20569 | 22 make && |
al@20569 | 23 make install || return 1 |
al@19816 | 24 |
al@19816 | 25 # Custom default configuration |
al@19816 | 26 cp $stuff/beaver.conf.default $install/usr/share/beaver/resource/ |
pankso@1008 | 27 } |
pankso@1008 | 28 |
al@20569 | 29 genpkg_rules() { |
al@19816 | 30 case $PACKAGE in |
al@19816 | 31 beaver) |
al@20604 | 32 copy beaver resource/ @ico |
al@20943 | 33 COOKOPTS="!pixmaps" |
al@21017 | 34 DEPENDS="cairo gdk-pixbuf glib gtk2 pango" |
al@19816 | 35 TAGS="text-editor" |
al@19816 | 36 ;; |
al@19816 | 37 *-plugins) |
al@19816 | 38 copy *.so |
al@19816 | 39 CAT="text|plugins" |
al@19816 | 40 ;; |
al@19816 | 41 esac |
pankso@1008 | 42 } |