summaryrefslogtreecommitdiff
path: root/community/dietlibc/PKGBUILD
blob: 6ba4d93316c74f1bc06ad8fbbf7b5a5d0c27fd10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 17510 2010-05-24 14:18:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tino Reichardt <milky-archlinux@mcmilk.de>

pkgname=dietlibc
pkgver=0.32
pkgrel=2
pkgdesc="a libc optimized for small size"
arch=('i686' 'x86_64')
url="http://www.fefe.de/dietlibc/"
license=("GPL")
source=(http://www.kernel.org/pub/linux/libs/dietlibc/$pkgname-$pkgver.tar.bz2)
md5sums=('0098761c17924c15e21d25acdda4a8b5')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make -j1 all dyn || return 1
  mkdir -p $startdir/pkg/etc
  make DESTDIR=$startdir/pkg install || return 1
}