wok view moserial/receipt @ rev 23654

Up openssh (8.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 21 06:14:03 2020 +0000 (2020-04-21)
parents 9689f1b75619
children 6831608a1b2a
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 \
17 gtk+-dev dbus-glib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
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 sed -i '/=;$/d' $install/usr/share/applications/moserial.desktop
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/moserial $fs/usr/share
40 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
41 $fs/usr/share/pixmaps
42 for locale in $LOCALES; do
43 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
44 done
45 chown -R root.root $fs
46 }