wok rev 16986

Add engrampa
author Yuri Pourre <yuripourre@gmail.com>
date Fri Aug 08 00:41:35 2014 -0300 (2014-08-08)
parents 92cfc10bd226
children 71f86ec27151
files engrampa/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/engrampa/receipt	Fri Aug 08 00:41:35 2014 -0300
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="engrampa"
     1.7 +VERSION="1.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="MATE archive manipulator."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.mate-desktop.org/"
    1.14 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.15 +
    1.16 +DEPENDS="bzip2 caja desktop-file-utils gtk+ gzip libarchive tar"
    1.17 +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
    1.18 +gtk+-dev gtk-doc mate-common-dev mate-desktop-dev yelp-tools"
    1.19 +SUGGESTED="unrar unace p7zip yelp zip"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./autogen.sh                           \
    1.25 +		--prefix=/usr                  \
    1.26 +		--libexecdir=/usr/lib/$PACKAGE \
    1.27 +		--with-gtk=2.0                 \
    1.28 +		--disable-static               \
    1.29 +		--disable-packagekit           \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$DESTDIR install
    1.33 +}
    1.34 +
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/share/pixmaps
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/lib $fs/usr
    1.40 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.41 +	cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
    1.42 +		$fs/usr/share/pixmaps
    1.43 +}
    1.44 +
    1.45 +# Post install/remove commands for Tazpkg.
    1.46 +post_install()
    1.47 +{
    1.48 +	echo "Processing post-install commands..."
    1.49 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.50 +}
    1.51 +
    1.52 +post_remove()
    1.53 +{ 
    1.54 +	echo "Processing post-remove commands..."
    1.55 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.56 +}