blob: 8fdc3b7fbceea94cfaaa05d719f820259f348aa8 (
plain)
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
38
39
40
41
42
43
44
45
46
|
pkgname=uclibc
pkgver=0.9.30_rc3
_mynamever=uClibc-0.9.30-rc3
makedepends="binutils gcc linux-headers make uclibc-dev"
subpackages="dev"
source="http://uclibc.org/downloads/$_mynamever.tar.bz2
uclibcconfig
69_all_uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
72_all_uClibc-0.9.29-linuxthreads.patch
74_all_uClibc-0.9.29-rm-whitespace.patch
81_all_uClibc-gnu89-inline.patch"
_prepare() {
local i
cd $srcdir/$_mynamever/
for i in ../*.patch; do
if ! patch -p1 < $i; then
echo "Patch failed: $i" >&2
return 1
fi
done
}
_compile() {
cd $srcdir/$_mynamever/
cp ../uclibcconfig .config
make silentoldconfig
make || return 1
}
_install() {
cd $srcdir/$_mynamever/
make install DESTDIR=$pkgdir
}
build() {
_prepare && _compile && _install
}
md5sums="4f530567cd9601ee24a934d7dfdec581 uClibc-0.9.30-rc3.tar.bz2
61661bd8640603293d1d16de647c8528 uclibcconfig
f31b7fee0153ddc288a843d86f928997 69_all_uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
c2a68efc3b1438657eb8ac68feafe6af 72_all_uClibc-0.9.29-linuxthreads.patch
cdf6ba2ca4450c8f32724a86a56c948f 74_all_uClibc-0.9.29-rm-whitespace.patch
0b2312ad80c7440c4f3715715ebe3444 81_all_uClibc-gnu89-inline.patch"
|