wok view moserial/receipt @ rev 14865
Up: perl-extutils-depends (0.304)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Mon Jul 22 19:45:04 2013 -0300 (2013-07-22) |
parents | |
children | 2b9f96603415 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="https://live.gnome.org/moserial"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 LOCALES="da de es fr pt_BR zh_CN"
12 TAGS="serial console"
14 DEPENDS="GConf gnome-doc-utils gtk+"
15 BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkgconfig vala gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # removing help
23 patch -Np3 -i $stuff/glade.patch
24 # build
25 ./configure $CONFIGURE_ARGS \
26 --prefix="/usr" &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 #
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/moserial $fs/usr/share
38 cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
39 $fs/usr/share/pixmaps
40 for locale in $LOCALES; do
41 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
42 done
43 chown -R root.root $fs
44 }