wok-4.x view boinc/receipt @ rev 9573
Up: lilo to 23.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 23:54:29 2011 +0000 (2011-04-11) |
parents | |
children | 18c3ea31d8f0 |
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 DEPENDS="openssl libcurl wxWidgets"
10 BUILD_DEPENDS="$DEPENDS subversion openssl-dev autoconf automake curl-dev \
11 wxWidgets-dev"
12 WEB_SITE="http://boinc.berkeley.edu/"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ ! -d $PACKAGE-$VERSION ] && svn co \
18 http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG} \
19 $PACKAGE-$VERSION
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 }