wok-4.x rev 3335
Add: eggdbus
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jun 10 13:35:49 2009 +0000 (2009-06-10) |
parents | 9ced27338fb6 |
children | 10271d25aec8 |
files | eggdbus-dev/receipt eggdbus/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/eggdbus-dev/receipt Wed Jun 10 13:35:49 2009 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="eggdbus-dev" 1.7 +VERSION="0.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="eggdbus devel files." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html" 1.15 +WANTED="eggdbus" 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/lib 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $_pkg/usr/include $fs/usr 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/eggdbus/receipt Wed Jun 10 13:35:49 2009 +0000 2.3 @@ -0,0 +1,44 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="eggdbus" 2.7 +VERSION="0.4" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A new (as compared to dbus-glib) D-Bus binding for GObject." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base glib libgio dbus dbus-glib" 2.12 +BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev dbus-dev dbus-glib-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html" 2.15 +WGET_URL="http://cgit.freedesktop.org/~david/$PACKAGE/snapshot/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + 2.22 + # autogen.sh forces some unnecessary options; remove them 2.23 + sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 2.24 + sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 2.25 + sed -i 's/ docs/ /' $src/Makefile.am || exit 1 2.26 + sed -i 's|docs/Makefile||' $src/configure.ac || exit 1 2.27 + sed -i 's|docs/version.xml||' $src/configure.ac || exit 1 2.28 + sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1 2.29 + sed -i 's|docs/tests/Makefile||' $src/configure.ac || exit 1 2.30 + sed -i 's|docs/eggdbus/Makefile||' $src/configure.ac || exit 1 2.31 + sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1 2.32 + rm -r -f $src/docs 2.33 + 2.34 + ./autogen.sh --prefix=/usr \ 2.35 + --enable-gtk-doc=no \ 2.36 + $CONFIGURE_ARGS && 2.37 + make && 2.38 + make DESTDIR=$src/_pkg install 2.39 +} 2.40 + 2.41 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.42 +genpkg_rules() 2.43 +{ 2.44 + mkdir -p $fs/usr/lib 2.45 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.46 + cp -a $_pkg/usr/bin $fs/usr 2.47 +}