wok-6.x diff boinc/receipt @ rev 9673
mercurial: We just need libssl
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 03 10:09:20 2011 +0200 (2011-05-03) |
parents | |
children | 18c3ea31d8f0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/boinc/receipt Tue May 03 10:09:20 2011 +0200 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 +}