wok view boinc/receipt @ rev 10263
Up: gnustep-make to 2.6.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:44:08 2011 +0000 (2011-05-21) |
parents | 1f49437c40eb |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="boinc"
4 VERSION="6.10.58"
5 SVN_TAG="6_10_58"
6 CATEGORY="network"
7 SHORT_DESC="Open-source software for volunteer computing and grid computing."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://boinc.berkeley.edu/"
11 WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}"
13 DEPENDS="openssl libcurl wxWidgets"
14 BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev \
15 wxWidgets-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./_autosetup
22 ./configure \
23 --disable-server \
24 --enable-unicode \
25 --enable-optimize &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/lib \
34 $fs/var/lib/boinc \
35 $fs/usr/share/pixmaps
36 cp -a $_pkg/etc $fs
37 chmod 0644 $fs/etc/boinc-client.conf
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp $_pkg/usr/share/boinc/boincmgr.48x48.png \
41 $fs/usr/share/pixmaps/boincmgr.png
42 }
44 post_install()
45 {
46 adduser -g "BOINC User" -h /var/lib/boinc -s /bin/false -S -H -D boinc
47 }
49 post_remove()
50 {
51 deluser boinc
52 }