wok view moserial/receipt @ rev 17906
syslinux: s/Dutch/Nederlands/ (thanks kubepc)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 05 11:03:04 2015 +0200 (2015-04-05) |
parents | 4ec0694bfc21 |
children | 04873d2f5f91 |
line source
1 # SliTaz package receipt.
3 PACKAGE="moserial"
4 VERSION="2.32.1"
5 CATEGORY="utilities"
6 SHORT_DESC="A gtk-based serial console."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://live.gnome.org/moserial"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 LOCALES="da de es fr pt_BR zh_CN"
13 TAGS="serial console"
15 DEPENDS="GConf gnome-doc-utils gtk+"
16 BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkg-config vala gtk+-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 # removing help
24 patch -Np3 -i $stuff/glade.patch
25 # build
26 ./configure $CONFIGURE_ARGS \
27 --prefix="/usr" &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 #
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/moserial $fs/usr/share
39 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
40 $fs/usr/share/pixmaps
41 for locale in $LOCALES; do
42 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
43 done
44 chown -R root.root $fs
45 }