wok annotate beaver/receipt @ rev 24059
Rename lz5 to lizard
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 09 15:03:00 2021 +0000 (2021-06-09) |
parents | 4b55a51aefa5 |
children | 68cf96abc146 |
rev | line source |
---|---|
pankso@1008 | 1 # SliTaz package receipt. |
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/" |
erjo@5928 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@5928 | 11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL" |
jozee@3567 | 12 TAGS="text-editor" |
pankso@16281 | 13 HOST_ARCH="i486 arm" |
al@19275 | 14 GENERIC_PIXMAPS="no" |
pankso@16281 | 15 |
pascal@15002 | 16 DEPENDS="gtk+ xorg-libXdamage" |
pankso@16281 | 17 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev" |
al@19275 | 18 SPLIT="beaver-plugins" |
pascal@15002 | 19 |
pankso@1008 | 20 # Rules to configure and make the package. |
pankso@1008 | 21 compile_rules() |
pankso@1008 | 22 { |
pascal@13826 | 23 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure |
al@19275 | 24 patch -p1 -i $stuff/icon.patch |
al@19275 | 25 |
al@19275 | 26 ./configure $CONFIGURE_ARGS && make && make install |
pankso@1008 | 27 } |
pankso@1008 | 28 |
pankso@1008 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1008 | 30 genpkg_rules() |
pankso@1008 | 31 { |
pascal@23908 | 32 mkdir -p $fs/usr/share/icons/hicolor/32x32/ |
pascal@23908 | 33 cp -a $install/usr/share/icons/hicolor/32x32/apps \ |
pascal@23908 | 34 $fs/usr/share/icons/hicolor/32x32/ |
al@19275 | 35 cook_copy_files beaver |
al@19275 | 36 cook_copy_icons |
al@19275 | 37 mkdir -p $fs/usr/share/beaver |
pascal@15002 | 38 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver |
al@19275 | 39 |
pankso@4831 | 40 # Custom default configuration |
pankso@9697 | 41 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource |
pankso@1008 | 42 } |