wok annotate moserial/receipt @ rev 18111
Up: cookutils(740), slitaz-base-files(273), tazpkg(811).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 04 00:31:21 2015 +0300 (2015-06-04) |
parents | 4ec0694bfc21 |
children | 04873d2f5f91 |
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 |
domcox@14378 | 19 # Rules to configure and make the package. |
domcox@14378 | 20 compile_rules() |
domcox@14378 | 21 { |
domcox@14378 | 22 cd $src |
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 |
domcox@14378 | 37 cp -a $install/usr/bin $fs/usr |
domcox@14378 | 38 cp -a $install/usr/share/moserial $fs/usr/share |
domcox@14378 | 39 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \ |
domcox@14378 | 40 $fs/usr/share/pixmaps |
domcox@14378 | 41 for locale in $LOCALES; do |
domcox@14378 | 42 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14378 | 43 done |
domcox@14378 | 44 chown -R root.root $fs |
domcox@14378 | 45 } |