wok-next annotate moserial/receipt @ rev 20246
update some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 10:30:41 2017 +0100 (2017-11-07) |
parents | 9689f1b75619 |
children | d43bf7aae921 |
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@17482 | 16 BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkg-config vala gtk+-dev" |
domcox@14378 | 17 |
domcox@14378 | 18 # Rules to configure and make the package. |
domcox@14378 | 19 compile_rules() |
domcox@14378 | 20 { |
domcox@14378 | 21 # removing help |
domcox@14378 | 22 patch -Np3 -i $stuff/glade.patch |
domcox@14378 | 23 # build |
domcox@14378 | 24 ./configure $CONFIGURE_ARGS \ |
pascal@20246 | 25 --disable-scrollkeeper \ |
domcox@14378 | 26 --prefix="/usr" && |
domcox@14378 | 27 make && |
domcox@14378 | 28 make DESTDIR=$DESTDIR install |
domcox@14378 | 29 } |
domcox@14378 | 30 |
domcox@14378 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14378 | 32 # |
domcox@14378 | 33 genpkg_rules() |
domcox@14378 | 34 { |
al@16691 | 35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale |
domcox@14378 | 36 cp -a $install/usr/bin $fs/usr |
domcox@14378 | 37 cp -a $install/usr/share/moserial $fs/usr/share |
domcox@14378 | 38 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \ |
domcox@14378 | 39 $fs/usr/share/pixmaps |
domcox@14378 | 40 for locale in $LOCALES; do |
domcox@14378 | 41 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14378 | 42 done |
domcox@14378 | 43 chown -R root.root $fs |
domcox@14378 | 44 } |