# HG changeset patch # User Christophe Lincoln # Date 1339182062 -7200 # Node ID 2c81261f7304ab563141a6df2f7f44c2c734afdc # Parent 8ab202c7076c09d6a31268b6fa2e5b6f54153438 Add dashel diff -r 8ab202c7076c -r 2c81261f7304 dashel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dashel/receipt Fri Jun 08 21:01:02 2012 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="dashel" +VERSION="1.0.4" +CATEGORY="system-tools" +SHORT_DESC="C++ cross-platform data stream helper encapsulation library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://gna.org/projects/dashel" +WGET_URL="http://download.gna.org/dashel/$VERSION/$TARBALL" + +DEPENDS="hal" +BUILD_DEPENDS="cmake hal-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cmake -DCMAKE_INSTALL_PREFIX=/usr . && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/* $fs/usr +}