wok-next annotate dashel/receipt @ rev 13245

Move from undigest: turses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:29 2012 +0200 (2012-08-14)
parents
children eb8067417980
rev   line source
pankso@13012 1 # SliTaz package receipt.
pankso@13012 2
pankso@13012 3 PACKAGE="dashel"
pankso@13012 4 VERSION="1.0.4"
pankso@13012 5 CATEGORY="system-tools"
pankso@13012 6 SHORT_DESC="C++ cross-platform data stream helper encapsulation library."
pankso@13012 7 MAINTAINER="pankso@slitaz.org"
pankso@13012 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@13012 9 WEB_SITE="http://gna.org/projects/dashel"
pankso@13012 10 WGET_URL="http://download.gna.org/dashel/$VERSION/$TARBALL"
pankso@13012 11
pankso@13012 12 DEPENDS="hal"
pankso@13012 13 BUILD_DEPENDS="cmake hal-dev"
pankso@13012 14
pankso@13012 15 # Rules to configure and make the package.
pankso@13012 16 compile_rules()
pankso@13012 17 {
pankso@13012 18 cd $src
pankso@13012 19 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pankso@13012 20 make && make install
pankso@13012 21 }
pankso@13012 22
pankso@13012 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13012 24 genpkg_rules()
pankso@13012 25 {
pankso@13012 26 mkdir -p $fs/usr
pankso@13012 27 cp -a $install/usr/* $fs/usr
pankso@13012 28 }