wok-6.x rev 6738
Added libbonobo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 16 19:37:57 2010 +0000 (2010-10-16) |
parents | fa02635c6d16 |
children | bd30b042b18a |
files | libbonobo-dev/receipt libbonobo/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libbonobo-dev/receipt Sat Oct 16 19:37:57 2010 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libbonobo-dev" 1.7 +VERSION="2.32.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for libbonobo" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="libbonobo" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.gnome.org" 1.14 +WANTED="libbonobo" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib $fs/usr/share 1.20 + 1.21 + cp -a $_pkg/usr/lib/*.a* $fs/usr/lib 1.22 + cp -a $_pkg/usr/lib/bonobo* $fs/usr/lib 1.23 + cp -a $_pkg/usr/share/idl $fs/usr/share 1.24 + 1.25 + # remove archive lib 1.26 + find $fs/usr/lib -name *.so* -exec rm -f {} \; 1.27 +} 1.28 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libbonobo/receipt Sat Oct 16 19:37:57 2010 +0000 2.3 @@ -0,0 +1,43 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libbonobo" 2.7 +VERSION="2.32.0" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Librairies for GNOME" 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="glib ORBit2 libxml2 libglade" 2.12 +BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.gnome.org" 2.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + --sysconfdir=/etc/gnome \ 2.24 + --libexecdir=/usr/lib/bonobo \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && make DESTDIR=$PWD/_pkg install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/lib $fs/usr/share 2.33 + cp -a $_pkg/etc $fs/ 2.34 + cp -a $_pkg/usr/bin $fs/usr 2.35 + cp -a $_pkg/usr/sbin $fs/usr 2.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.37 + cp -a $_pkg/usr/lib/orbit-2.0 $fs/usr/lib 2.38 + cp -a $_pkg/usr/lib/bonobo $fs/usr/lib/bonobo 2.39 + 2.40 + # Clean unwated files 2.41 + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 2.42 + 2.43 + # Stripping all 2.44 + find . -name "*.so" -exec strip -s {} \; 2.45 +} 2.46 +