wok diff moserial/receipt @ rev 14749

busybox: diet -Os produce larger files...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 15:34:51 2013 +0200 (2013-06-16)
parents
children 2b9f96603415
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/moserial/receipt	Sun Jun 16 15:34:51 2013 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="moserial"
     1.7 +VERSION="2.32.1"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A gtk-based serial console."
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="https://live.gnome.org/moserial"
    1.13 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 +LOCALES="da de es fr pt_BR zh_CN"
    1.15 +TAGS="serial console"
    1.16 +
    1.17 +DEPENDS="GConf gnome-doc-utils gtk+"
    1.18 +BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkgconfig vala gtk+-dev"
    1.19 +
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cd $src
    1.25 +	# removing help
    1.26 +	patch -Np3 -i $stuff/glade.patch
    1.27 +	# build
    1.28 +	./configure $CONFIGURE_ARGS \
    1.29 +		--prefix="/usr" &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +#
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/share/pixmaps
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/share/moserial $fs/usr/share
    1.41 +	cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \
    1.42 +		$fs/usr/share/pixmaps
    1.43 +	for locale in $LOCALES; do
    1.44 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.45 +	done
    1.46 +	chown -R root.root $fs
    1.47 +}