wok-6.x annotate beaver/receipt @ rev 23886
glibc: fix for binutils 2.29
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 16 09:15:37 2020 +0000 (2020-07-16) |
parents | 11b5e93cb5f2 |
children | f96e26cdfd7a |
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 { |
al@19275 | 32 cook_copy_files beaver |
al@19275 | 33 cook_copy_icons |
al@19275 | 34 mkdir -p $fs/usr/share/beaver |
pascal@15002 | 35 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver |
al@19275 | 36 |
pankso@4831 | 37 # Custom default configuration |
pankso@9697 | 38 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource |
pankso@1008 | 39 } |