# HG changeset patch # User Christopher Rogers # Date 1286853684 0 # Node ID de8d02ec32950dcfd18d74e437e53be069f1b813 # Parent 9593bba66bb234315f10cdfecae2fea02247c0f8 Added gobject-introspection. diff -r 9593bba66bb2 -r de8d02ec3295 gobject-introspection-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gobject-introspection-dev/receipt Tue Oct 12 03:21:24 2010 +0000 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="gobject-introspection-dev" +VERSION="0.9.10" +CATEGORY="development" +SHORT_DESC="Gobject-introspection devel files." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gobject-introspection" +WANTED="gobject-introspection" +WEB_SITE="http://live.gnome.org/GObjectInstrospection" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib + cp -a $_pkg/usr/share/aclocal $fs/usr/share + cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share + cp -a $_pkg/usr/share/gobject-introspection-* $fs/usr/share +} diff -r 9593bba66bb2 -r de8d02ec3295 gobject-introspection/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gobject-introspection/receipt Tue Oct 12 03:21:24 2010 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="gobject-introspection" +VERSION="0.9.10" +CATEGORY="x-window" +SHORT_DESC="Introspection system for GObject-based libraries." +DEPENDS="glib" +BUILD_DEPENDS="glib-dev libgio-dev pkg-config bison flex libffi-dev python-dev cairo-dev" +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://live.gnome.org/GObjectInstrospection" +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/gobject-introspection $fs/usr/lib +}