wok-current view dashel/receipt @ rev 13592

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