PKGBUILD 934 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf

pkgname=boost-build
pkgver=2.0_m12
pkgrel=1
pkgdesc="Boost build system."
arch=('i686' 'x86_64')
url="http://www.boost.org/doc/tools/build/"
license=('custom:Boost')
depends=('boost' 'gcc' 'python')
source=("http://downloads.sourceforge.net/sourceforge/boost/$pkgname-2.0-m12.tar.bz2"
	"http://www.boost.org/LICENSE_1_0.txt")
md5sums=('38a40f1c0c2d6eb4f14aa4cf52e9236a'
         'e4224ccaecb14d942c71d31bef20d78c')

package()
{
  cd $srcdir

  mkdir -p $pkgdir/usr/share
  mkdir -p $pkgdir/etc

  rm -Rf $pkgname/jam_src

  cp -R $pkgname $pkgdir/usr/share

  echo "using gcc ;" > $pkgdir/etc/site-config.jam

  # License.
  install -Dm 644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}