wok-6.x annotate moserial/receipt @ rev 14397
Add: python-evas
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 17:25:02 2013 +0200 (2013-04-23) |
parents | |
children | 2b9f96603415 |
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" |
domcox@14378 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@14378 | 9 WEB_SITE="https://live.gnome.org/moserial" |
domcox@14378 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
domcox@14378 | 11 LOCALES="da de es fr pt_BR zh_CN" |
domcox@14378 | 12 TAGS="serial console" |
domcox@14378 | 13 |
domcox@14378 | 14 DEPENDS="GConf gnome-doc-utils gtk+" |
domcox@14378 | 15 BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkgconfig vala gtk+-dev" |
domcox@14378 | 16 |
domcox@14378 | 17 |
domcox@14378 | 18 # Rules to configure and make the package. |
domcox@14378 | 19 compile_rules() |
domcox@14378 | 20 { |
domcox@14378 | 21 cd $src |
domcox@14378 | 22 # removing help |
domcox@14378 | 23 patch -Np3 -i $stuff/glade.patch |
domcox@14378 | 24 # build |
domcox@14378 | 25 ./configure $CONFIGURE_ARGS \ |
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 { |
domcox@14378 | 35 mkdir -p $fs/usr/share/pixmaps |
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 } |