updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / uclibc++ / PKGBUILD
blob67a51b33d4987d6edc35d36b104519d0f43f752a
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
3 pkgname=uclibc++
4 _pkgname=uClibc++
5 pkgver=0.2.2
6 pkgrel=2
7 pkgdesc='C++ standard library targeted towards the embedded systems/software market'
8 arch=('i686' 'x86_64')
9 license=('LGPL')
10 url="http://cxx.uclibc.org/"
11 depends=('gcc-libs')
12 source=(http://cxx.uclibc.org/src/$_pkgname-$pkgver.tar.bz2
13         config)
14 md5sums=('1ceef3209cca88be8f1bd9de99735954'
15          'f77945eb7e9fb93d9b85a7e84473695b')
16 _makemenucfg="n"
18 build() {
19     cd $_pkgname-$pkgver
20     
21     msg "Copying default configuration file"
22     cat ../config >./.config
23     
24     if [ "$_makemenucfg" = "y" ]; then
25         msg "Running make menuconfig"
26         make menuconfig
27     else
28         msg "Using default config"
29         make oldconfig
30     fi
31     
32     make
33     make PREFIX=$pkgdir install