wok-next diff boinc/receipt @ rev 9530
Up: atkmm to 2.22.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 07 23:22:57 2011 +0000 (2011-04-07) |
parents | |
children | 18c3ea31d8f0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/boinc/receipt Thu Apr 07 23:22:57 2011 +0000 1.3 @@ -0,0 +1,52 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="boinc" 1.7 +VERSION="6.10.58" 1.8 +SVN_TAG="6_10_58" 1.9 +CATEGORY="network" 1.10 +SHORT_DESC="Open-source software for volunteer computing and grid computing." 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +DEPENDS="openssl libcurl wxWidgets" 1.13 +BUILD_DEPENDS="$DEPENDS subversion openssl-dev autoconf automake curl-dev \ 1.14 +wxWidgets-dev" 1.15 +WEB_SITE="http://boinc.berkeley.edu/" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + [ ! -d $PACKAGE-$VERSION ] && svn co \ 1.21 + http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG} \ 1.22 + $PACKAGE-$VERSION 1.23 + cd $src 1.24 + ./_autosetup 1.25 + ./configure \ 1.26 + --disable-server \ 1.27 + --enable-unicode \ 1.28 + --enable-optimize && 1.29 + make && make install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p \ 1.36 + $fs/usr/lib \ 1.37 + $fs/var/lib/boinc \ 1.38 + $fs/usr/share/pixmaps 1.39 + cp -a $_pkg/etc $fs 1.40 + chmod 0644 $fs/etc/boinc-client.conf 1.41 + cp -a $_pkg/usr/bin $fs/usr 1.42 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.43 + cp $_pkg/usr/share/boinc/boincmgr.48x48.png \ 1.44 + $fs/usr/share/pixmaps/boincmgr.png 1.45 +} 1.46 + 1.47 +post_install() 1.48 +{ 1.49 + adduser -g "BOINC User" -h /var/lib/boinc -s /bin/false -S -H -D boinc 1.50 +} 1.51 + 1.52 +post_remove() 1.53 +{ 1.54 + deluser boinc 1.55 +}