26 lines
545 B
Plaintext
26 lines
545 B
Plaintext
# Description: DietC is a libc that is optimized for size
|
|
# URL: http://www.fefe.de/dietlibc/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on:
|
|
|
|
name=dietlibc
|
|
version=0.33
|
|
release=1
|
|
|
|
source=(http://www.fefe.de/$name/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
mkdir -p $PKG/{etc,usr}
|
|
|
|
make prefix=/usr/dietlibc
|
|
|
|
# shared libraries don't build anymore with gcc 4.4, why?
|
|
# make prefix=/usr/dietlibc dyn
|
|
|
|
make prefix=/usr/dietlibc DESTDIR=$PKG install
|
|
|
|
mv $PKG/usr/dietlibc/man $PKG/usr
|
|
rmdir $PKG/etc
|
|
}
|