annotate images/lfs-bootstrap/mnt/build/gettext-stub.sh @ 19:b151b87ddf35

The installed files should be world readable.
author Rob Landley <rob@landley.net>
date Sun, 06 Nov 2011 09:27:37 -0600
parents bcd2e358d57f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bcd2e358d57f Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/sh
bcd2e358d57f Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
bcd2e358d57f Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 # Stub to compile packages that refuse to build without gettext.
bcd2e358d57f Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
Rob Landley <rob@landley.net>
parents:
diff changeset
4
19
b151b87ddf35 The installed files should be world readable.
Rob Landley <rob@landley.net>
parents: 0
diff changeset
5 gcc -shared -fpic -o libintl.so libintl-stub.c &&
b151b87ddf35 The installed files should be world readable.
Rob Landley <rob@landley.net>
parents: 0
diff changeset
6 install -m 755 libintl.so /usr/lib &&
b151b87ddf35 The installed files should be world readable.
Rob Landley <rob@landley.net>
parents: 0
diff changeset
7 install -m 644 libintl-stub.h /usr/include/libintl.h &&
b151b87ddf35 The installed files should be world readable.
Rob Landley <rob@landley.net>
parents: 0
diff changeset
8 install -m 755 msgfmt /usr/bin