wok-current view moserial/receipt @ rev 24377

modified recipe for libboost-locale-dev
author Hans-G?nter Theisgen
date Sun Feb 06 09:47:43 2022 +0100 (2022-02-06)
parents 04873d2f5f91
children
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"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # removing help
29 patch -Np3 -i $stuff/glade.patch
30 # build
31 ./configure $CONFIGURE_ARGS \
32 --prefix="/usr" &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 #
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale
42 sed -i '/=;$/d' $install/usr/share/applications/moserial.desktop
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/moserial $fs/usr/share
45 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
46 $fs/usr/share/pixmaps
47 for locale in $LOCALES; do
48 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
49 done
50 chown -R root.root $fs
51 }