wok-next rev 16958
Add mate-common-dev and mate-desktop-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Jul 28 20:21:05 2014 -0300 (2014-07-28) |
parents | f520133fcbf4 |
children | 7d92302eb790 |
files | mate-common-dev/receipt mate-common/receipt mate-desktop-dev/receipt mate-desktop/receipt mate-icon-theme/receipt mate-terminal/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mate-common-dev/receipt Mon Jul 28 20:21:05 2014 -0300 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mate-common-dev" 1.7 +VERSION="1.9.0" 1.8 +CATEGORY="utilities" 1.9 +LICENSE="GPL3" 1.10 +SHORT_DESC="Common package for MATE applications." 1.11 +MAINTAINER="yuripourre@gmail.com" 1.12 +WEB_SITE="http://www.mate-desktop.org/" 1.13 +WANTED="mate-common" 1.14 +DEPENDS="mate-common" 1.15 +TAGS="MATE" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/share/aclocal 1.21 + cp -a $install/usr/share/aclocal/*.m4 $fs/usr/share/aclocal/ 1.22 +}
2.1 --- a/mate-common/receipt Mon Jul 28 23:13:32 2014 +0200 2.2 +++ b/mate-common/receipt Mon Jul 28 20:21:05 2014 -0300 2.3 @@ -11,7 +11,7 @@ 2.4 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 2.5 2.6 DEPENDS="" 2.7 -BUILD_DEPENDS="wget autoconf automake" 2.8 +BUILD_DEPENDS="wget cacerts autoconf automake" 2.9 2.10 # Rules to configure and make the package. 2.11 compile_rules() 2.12 @@ -23,8 +23,12 @@ 2.13 make DESTDIR=$DESTDIR install 2.14 } 2.15 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 genpkg_rules() 2.18 { 2.19 - mkdir -p $fs/usr 2.20 - cp -a $install/usr/ $fs 2.21 + mkdir -p $fs/usr/share 2.22 + cp -a $install/usr/bin $fs/usr 2.23 + cp -a $install/usr/share/mate-common $fs/usr/share 2.24 + 2.25 + rm -rf $install/usr/share/man 2.26 }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mate-desktop-dev/receipt Mon Jul 28 20:21:05 2014 -0300 3.3 @@ -0,0 +1,22 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="mate-desktop-dev" 3.7 +VERSION="1.9.1" 3.8 +CATEGORY="utilities" 3.9 +LICENSE="GPL3" 3.10 +SHORT_DESC="Common package for MATE Desktop applications." 3.11 +MAINTAINER="yuripourre@gmail.com" 3.12 +WEB_SITE="http://www.mate-desktop.org/" 3.13 +WANTED="mate-desktop" 3.14 +DEPENDS="mate-desktop" 3.15 +TAGS="MATE" 3.16 + 3.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 +genpkg_rules() 3.19 +{ 3.20 + mkdir -p $fs/usr/lib $fs/usr/include 3.21 + cp -a $install/usr/lib/*.a $fs/usr/lib 3.22 + cp -a $install/usr/lib/*.la $fs/usr/lib 3.23 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.24 + cp -a $install/usr/include/* $fs/usr/include 3.25 +}
4.1 --- a/mate-desktop/receipt Mon Jul 28 23:13:32 2014 +0200 4.2 +++ b/mate-desktop/receipt Mon Jul 28 20:21:05 2014 -0300 4.3 @@ -11,8 +11,8 @@ 4.4 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 4.5 4.6 DEPENDS="gtk+ gdk-pixbuf" 4.7 -BUILD_DEPENDS="wget autoconf automake dconf-dev libtool itstool \ 4.8 -mate-common gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools" 4.9 +BUILD_DEPENDS="wget cacerts autoconf automake dconf-dev libtool itstool \ 4.10 +mate-common gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools harfbuzz-dev" 4.11 4.12 # Rules to configure and make the package. 4.13 compile_rules() 4.14 @@ -24,8 +24,24 @@ 4.15 make DESTDIR=$DESTDIR install 4.16 } 4.17 4.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.19 genpkg_rules() 4.20 { 4.21 - mkdir -p $fs/usr 4.22 - cp -a $install/usr/ $fs 4.23 + mkdir -p $fs/usr/lib 4.24 + cp -a $install/usr/bin $fs/usr 4.25 + cp -a $install/usr/share $fs/usr 4.26 + cp -a $install/usr/lib/*.so* $fs/usr/lib 4.27 } 4.28 + 4.29 +# Post install/remove commands for Tazpkg. 4.30 +post_install() 4.31 +{ 4.32 + echo "Processing post-install commands..." 4.33 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 4.34 +} 4.35 + 4.36 +post_remove() 4.37 +{ 4.38 + echo "Processing post-remove commands..." 4.39 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 4.40 +}
5.1 --- a/mate-icon-theme/receipt Mon Jul 28 23:13:32 2014 +0200 5.2 +++ b/mate-icon-theme/receipt Mon Jul 28 20:21:05 2014 -0300 5.3 @@ -11,13 +11,14 @@ 5.4 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 5.5 5.6 DEPENDS="" 5.7 -BUILD_DEPENDS="wget autoconf automake icon-naming-utils mate-common" 5.8 +BUILD_DEPENDS="wget cacerts autoconf automake mate-common-dev icon-naming-utils" 5.9 5.10 # Rules to configure and make the package. 5.11 compile_rules() 5.12 { 5.13 ./autogen.sh \ 5.14 --prefix=/usr \ 5.15 + --enable-icon-mapping \ 5.16 $CONFIGURE_ARGS && 5.17 make && 5.18 make DESTDIR=$DESTDIR install 5.19 @@ -25,6 +26,8 @@ 5.20 5.21 genpkg_rules() 5.22 { 5.23 + rm -rf $install/usr/share/pkgconfig/ 5.24 + 5.25 mkdir -p $fs/usr 5.26 cp -a $install/usr $fs 5.27 }
6.1 --- a/mate-terminal/receipt Mon Jul 28 23:13:32 2014 +0200 6.2 +++ b/mate-terminal/receipt Mon Jul 28 20:21:05 2014 -0300 6.3 @@ -11,9 +11,9 @@ 6.4 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 6.5 6.6 DEPENDS="gtk+ dconf util-linux-uuid vte mate-desktop harfbuzz" 6.7 -BUILD_DEPENDS="wget dconf-dev gtk+-dev util-linux-uuid-dev vte-dev \ 6.8 -mate-common mate-desktop yelp-tools autoconf automake libtool itstool \ 6.9 -harfbuzz-dev" 6.10 +BUILD_DEPENDS="wget cacerts dconf-dev gtk+-dev util-linux-uuid-dev \ 6.11 +vte-dev mate-common-dev mate-desktop-dev yelp-tools autoconf automake libtool \ 6.12 +itstool harfbuzz-dev" 6.13 6.14 # Rules to configure and make the package. 6.15 compile_rules() 6.16 @@ -30,8 +30,26 @@ 6.17 make DESTDIR=$DESTDIR install 6.18 } 6.19 6.20 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.21 genpkg_rules() 6.22 { 6.23 + # Saving some space 6.24 + rm -rf $install/usr/share/man 6.25 + rm -rf $install/usr/share/help 6.26 + 6.27 mkdir -p $fs/usr 6.28 cp -a $install/usr $fs 6.29 } 6.30 + 6.31 +# Post install/remove commands for Tazpkg. 6.32 +post_install() 6.33 +{ 6.34 + echo "Processing post-install commands..." 6.35 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 6.36 +} 6.37 + 6.38 +post_remove() 6.39 +{ 6.40 + echo "Processing post-remove commands..." 6.41 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 6.42 +}