wok rev 17797

Add marco
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 20 20:00:59 2015 -0300 (2015-03-20)
parents 54273920f51d
children 3261ccd32534
files marco-dev/receipt marco/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/marco-dev/receipt	Fri Mar 20 20:00:59 2015 -0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="marco-dev"
     1.7 +VERSION="1.9.3"
     1.8 +CATEGORY="development"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="A window manager for MATE Desktop, devel files."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +WANTED="marco"
    1.13 +
    1.14 +DEPENDS="marco"
    1.15 +
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.19 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.20 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/marco/receipt	Fri Mar 20 20:00:59 2015 -0300
     2.3 @@ -0,0 +1,38 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="marco"
     2.7 +VERSION="1.9.3"
     2.8 +CATEGORY="utilities"
     2.9 +LICENSE="GPL3"
    2.10 +SHORT_DESC="A window manager for MATE Desktop."
    2.11 +MAINTAINER="yuripourre@gmail.com"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.mate-desktop.org/"
    2.14 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    2.15 +
    2.16 +DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM xorg-libXt \
    2.17 +startup-notification"
    2.18 +BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
    2.19 +mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \
    2.20 +xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \
    2.21 +util-linux-uuid-dev zenity"
    2.22 +
    2.23 +# Rules to configure and make the package.
    2.24 +compile_rules()
    2.25 +{
    2.26 +	./autogen.sh                   \
    2.27 +		--prefix=/usr          \
    2.28 +		--sysconfdir=/etc      \
    2.29 +		--localstatedir=/var   \
    2.30 +		--disable-static       \
    2.31 +		$CONFIGURE_ARGS &&
    2.32 +	make &&
    2.33 +	make DESTDIR=$DESTDIR install
    2.34 +}
    2.35 +
    2.36 +genpkg_rules()
    2.37 +{
    2.38 +	mkdir -p $fs/usr/bin $fs/usr/lib
    2.39 +	cp -a $install/usr/bin $fs/usr
    2.40 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.41 +}