2010-09-13 02:43:06 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=scons
|
2011-09-26 09:38:59 +08:00
|
|
|
pkgver=2.1.0
|
|
|
|
pkgrel=1
|
2010-09-13 02:43:06 +08:00
|
|
|
pkgdesc="Extensible Python-based build utility"
|
2011-09-26 09:38:59 +08:00
|
|
|
arch=('any')
|
2010-09-13 02:43:06 +08:00
|
|
|
url="http://scons.org"
|
2011-09-26 09:38:59 +08:00
|
|
|
license=('MIT')
|
2010-12-19 11:26:38 +08:00
|
|
|
depends=('python2')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2011-09-26 09:38:59 +08:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('47daf989e303a045b76c11236df719df')
|
2010-09-13 02:43:06 +08:00
|
|
|
|
|
|
|
build() {
|
2011-09-26 09:38:59 +08:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2010-09-13 02:43:06 +08:00
|
|
|
|
2010-12-19 11:26:38 +08:00
|
|
|
python2 setup.py install --standard-lib \
|
2011-09-26 09:38:59 +08:00
|
|
|
--prefix=/usr \
|
|
|
|
--install-data=/usr/share \
|
|
|
|
--optimize=1 \
|
|
|
|
--root="$pkgdir"
|
|
|
|
|
|
|
|
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2010-09-13 02:43:06 +08:00
|
|
|
}
|
2011-09-26 09:38:59 +08:00
|
|
|
|