wok-next annotate boinc/receipt @ rev 11775
added plist/swig/plist.i to libplist. Ommission was breaking libimobiledevice(-dev).
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Feb 23 13:22:33 2012 -0800 (2012-02-23) |
parents | c2f103586eb5 |
children | ae02cb50791b |
rev | line source |
---|---|
pankso@9330 | 1 # SliTaz package receipt. |
pankso@9330 | 2 |
pankso@9330 | 3 PACKAGE="boinc" |
pankso@9330 | 4 VERSION="6.10.58" |
samuel_trassare@11775 | 5 SVN_TAG="6.10.58" |
pankso@9330 | 6 CATEGORY="network" |
pankso@9330 | 7 SHORT_DESC="Open-source software for volunteer computing and grid computing." |
pankso@9330 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@9800 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9800 | 10 WEB_SITE="http://boinc.berkeley.edu/" |
pankso@9800 | 11 WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}" |
pankso@9800 | 12 |
samuel_trassare@11764 | 13 DEPENDS="openssl libcurl wxWidgets libnotify" |
pankso@9800 | 14 BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev \ |
samuel_trassare@11764 | 15 wxWidgets-dev libnotify-dev" |
pankso@9330 | 16 |
pankso@9330 | 17 # Rules to configure and make the package. |
pankso@9330 | 18 compile_rules() |
pankso@9330 | 19 { |
pankso@9330 | 20 cd $src |
pankso@9330 | 21 ./_autosetup |
pankso@9330 | 22 ./configure \ |
pankso@9330 | 23 --disable-server \ |
pankso@9330 | 24 --enable-unicode \ |
gokhlayeh@11573 | 25 --enable-optimize \ |
gokhlayeh@11573 | 26 $CONFIGURE_ARGS && |
pankso@9330 | 27 make && make install |
pankso@9330 | 28 } |
pankso@9330 | 29 |
pankso@9330 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9330 | 31 genpkg_rules() |
pankso@9330 | 32 { |
pankso@9330 | 33 mkdir -p \ |
pankso@9330 | 34 $fs/usr/lib \ |
pankso@9330 | 35 $fs/var/lib/boinc \ |
pankso@9330 | 36 $fs/usr/share/pixmaps |
pankso@9330 | 37 cp -a $_pkg/etc $fs |
pankso@9330 | 38 chmod 0644 $fs/etc/boinc-client.conf |
pankso@9330 | 39 cp -a $_pkg/usr/bin $fs/usr |
pankso@9330 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@9330 | 41 cp $_pkg/usr/share/boinc/boincmgr.48x48.png \ |
pankso@9330 | 42 $fs/usr/share/pixmaps/boincmgr.png |
pankso@9330 | 43 } |
pankso@9330 | 44 |
pankso@9330 | 45 post_install() |
pankso@9330 | 46 { |
pankso@9330 | 47 adduser -g "BOINC User" -h /var/lib/boinc -s /bin/false -S -H -D boinc |
pankso@9330 | 48 } |
pankso@9330 | 49 |
pankso@9330 | 50 post_remove() |
pankso@9330 | 51 { |
pankso@9330 | 52 deluser boinc |
pankso@9330 | 53 } |