blob: cc827ef9e86b269e03a78b644a7461277bc488d4 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
name: eglibc
kind: chunk
products:
- artifact: eglibc-nss
include:
- etc/nsswitch.conf
- (usr/)?lib/libnss.*
- artifact: eglibc-gconv
include:
- (usr/)?lib/gconv/.*
- artifact: eglibc-libs
include:
- sbin/ldconfig
- lib(32|64)?/ld-.*
- (usr/)?lib(exec)?/pt_chown
- artifact: eglibc-bins
include:
- (usr/)?s?bin/.*
- (usr/)?libexec/getconf/.*
- (usr/)?lib/libSegFault\.so(\.\d+)*$
- artifact: eglibc-libs
include:
- (usr/)?lib(32|64)?/lib[^/]*\.so(\.\d+)*$
- artifact: eglibc-devel
include:
- (usr/)?include/.*
- (usr/)?lib(32|64)?/lib.*\.a
- (usr/)?lib(32|64)?/lib.*\.la
- (usr/)?(lib(32|64)?|share)/pkgconfig/.*\.pc
- (usr/)?lib(32|64)?/.*\.o
- artifact: eglibc-locale
include:
- (usr/)?share/locale/.*
- (usr/)?share/i18n/.*
- (usr/)?share/zoneinfo/.*
- artifact: eglibc-misc
include:
- .*
configure-commands:
- mkdir o
# Necessary for ARM port
- cd libc && ln -s ../ports ports
- |
export CFLAGS="-O2 $CFLAGS"; cd o &&
../libc/configure \
$(../morph-arch-config) \
--prefix="$PREFIX" \
--disable-profile \
--enable-kernel=2.6.25 \
--enable-add-ons=nptl,ports \
--without-cvs \
--without-selinux
build-commands:
- cd o && make localtime=UTC
install-commands:
- cd o && make install_root="$DESTDIR" localtime=UTC install
- mkdir -p "$DESTDIR/etc"
- install -m 644 -o root -g root nsswitch.conf "$DESTDIR/etc/nsswitch.conf"
|