# SliTaz package receipt. PACKAGE="gobby" VERSION="0.4.12" CATEGORY="network" SHORT_DESC="Network collaborative editor." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://gobby.0x539.de/trac/" WGET_URL="http://releases.0x539.de/gobby/$TARBALL" DEPENDS="gnutls libgpg-error libgcrypt gtk+ cairomm glibmm gtkmm gtksourceview \ libsigc++ libxml++ net6 obby xorg-libXdamage gcc-lib-base libtasn1" BUILD_DEPENDS="intltool libxml++-dev cairomm-dev glibmm-dev gtkmm-dev net6-dev \ obby-dev gtksourceview-dev gnutls-dev libsigc++-dev gtk+-dev libgnutls" # What is the latest version available today? current_version() { wget -O - https://github.com/gobby/gobby/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # for glibmm >= 2.31 sed -i 's|.*gselector.hpp|#include \n&|' src/gselector.cpp ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/icons/hicolor/48x48/apps/* \ $fs/usr/share/pixmaps }