Mercurial > hg > control-images
annotate images/lfs-bootstrap/mnt/build/gettext-stub.sh @ 40:ef471ef37665 draft default tip
Yank reliance on ash.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 18 Jul 2015 01:39:24 -0500 |
parents | b151b87ddf35 |
children |
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 |