# SliTaz package receipt PACKAGE="sakura" VERSION="2.3.8" CATEGORY="utilities" SHORT_DESC="Lightweight GTK+/vte Terminal" MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ vte xorg-libXdamage" BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://pleyades.net/david/sakura.php" WGET_URL="http://pleyades.net/david/projects/sakura/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && sed -i 's/-u//' CMakeLists.txt && sed -i 's/-u//' CMakeFiles/man.dir/build.make && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications cp -a $stuff/sakura.desktop $fs/usr/share/applications cp -a $_pkg/usr/bin $fs/usr }