wok-next view moserial/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 9689f1b75619 |
children | d43bf7aae921 |
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # removing help
22 patch -Np3 -i $stuff/glade.patch
23 # build
24 ./configure $CONFIGURE_ARGS \
25 --disable-scrollkeeper \
26 --prefix="/usr" &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 #
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/moserial $fs/usr/share
38 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
39 $fs/usr/share/pixmaps
40 for locale in $LOCALES; do
41 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
42 done
43 chown -R root.root $fs
44 }