# SliTaz package receipt. PACKAGE="glade3" VERSION="3.8.0" CATEGORY="development" SHORT_DESC="Vector drawing application." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ libglade xorg-libXdamage" BUILD_DEPENDS="intltool libxml2-dev expat-dev python" SUGGESTED="python" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://glade.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --with-html-dir=/usr/share/doc \ --disable-scrollkeeper \ $CONFIGURE_ARGS # Doc doesn't built sed -i 's/= help/=/' Makefile 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/pixmaps cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/glade3 $fs/usr/lib rm $fs/usr/lib/glade3/modules/*.*a cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ $fs/usr/share/pixmaps cp -a $_pkg/usr/share/glade3 $fs/usr/share }