wok-current view beaver/receipt @ rev 16632
wiringpi: typo in tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 12 06:41:14 2014 +0000 (2014-05-12) |
parents | 7896f0694ef6 |
children | 11b5e93cb5f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="beaver"
4 VERSION="0.4.1"
5 CATEGORY="development"
6 SHORT_DESC="Simple and very light advanced text editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://beaver-editor.sf.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
15 GENERIC_PIXMAPS="no"
16 DEPENDS="gtk+ xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p \
32 $fs/usr/share/beaver \
33 $fs/usr/share/icons/hicolor/32x32/
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
37 cp -a $install/usr/share/icons/hicolor/32x32/apps \
38 $fs/usr/share/icons/hicolor/32x32/
40 # Custom default configuration
41 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
42 }