wok annotate moserial/receipt @ rev 23833
updated picard (1.4.0.5 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 01 07:18:17 2020 +0100 (2020-06-01) |
parents | 9689f1b75619 |
children | 6831608a1b2a |
rev | line source |
---|---|
domcox@14378 | 1 # SliTaz package receipt. |
domcox@14378 | 2 |
domcox@14378 | 3 PACKAGE="moserial" |
domcox@14378 | 4 VERSION="2.32.1" |
domcox@14378 | 5 CATEGORY="utilities" |
domcox@14378 | 6 SHORT_DESC="A gtk-based serial console." |
domcox@14378 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
domcox@14378 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@14378 | 10 WEB_SITE="https://live.gnome.org/moserial" |
domcox@14378 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
domcox@14378 | 12 LOCALES="da de es fr pt_BR zh_CN" |
domcox@14378 | 13 TAGS="serial console" |
domcox@14378 | 14 |
domcox@14378 | 15 DEPENDS="GConf gnome-doc-utils gtk+" |
pascal@22817 | 16 BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkg-config vala \ |
pascal@22817 | 17 gtk+-dev dbus-glib-dev" |
domcox@14378 | 18 |
domcox@14378 | 19 |
domcox@14378 | 20 # Rules to configure and make the package. |
domcox@14378 | 21 compile_rules() |
domcox@14378 | 22 { |
domcox@14378 | 23 # removing help |
domcox@14378 | 24 patch -Np3 -i $stuff/glade.patch |
domcox@14378 | 25 # build |
domcox@14378 | 26 ./configure $CONFIGURE_ARGS \ |
domcox@14378 | 27 --prefix="/usr" && |
domcox@14378 | 28 make && |
domcox@14378 | 29 make DESTDIR=$DESTDIR install |
domcox@14378 | 30 } |
domcox@14378 | 31 |
domcox@14378 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14378 | 33 # |
domcox@14378 | 34 genpkg_rules() |
domcox@14378 | 35 { |
al@16691 | 36 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale |
pascal@22817 | 37 sed -i '/=;$/d' $install/usr/share/applications/moserial.desktop |
domcox@14378 | 38 cp -a $install/usr/bin $fs/usr |
domcox@14378 | 39 cp -a $install/usr/share/moserial $fs/usr/share |
domcox@14378 | 40 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \ |
domcox@14378 | 41 $fs/usr/share/pixmaps |
domcox@14378 | 42 for locale in $LOCALES; do |
domcox@14378 | 43 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14378 | 44 done |
domcox@14378 | 45 chown -R root.root $fs |
domcox@14378 | 46 } |