wok view boinc/receipt @ rev 11877
up nasm 2.09.10
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 23:19:14 2012 -0800 (2012-02-27) |
parents | 2d8aa250683f |
children | f72c28df3f6c |
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 libnotify"
14 BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev \
15 wxWidgets-dev libnotify-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 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/lib \
35 $fs/var/lib/boinc \
36 $fs/usr/share/pixmaps
37 cp -a $_pkg/etc $fs
38 chmod 0644 $fs/etc/boinc-client.conf
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp $_pkg/usr/share/boinc/boincmgr.48x48.png \
42 $fs/usr/share/pixmaps/boincmgr.png
43 }
45 post_install()
46 {
47 adduser -g "BOINC User" -h /var/lib/boinc -s /bin/false -S -H -D boinc
48 }
50 post_remove()
51 {
52 deluser boinc
53 }