summaryrefslogtreecommitdiff
path: root/data/bootstrap-cmds/make.sh
blob: af6db12d1686fd1adc4b6dc4f09ac1db7168979a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
tar -zxvf "${PKG_DATA}/bootstrap_cmds-60.tar.gz"
cd bootstrap_cmds-60
pkg:patch
cd migcom.tproj
cat >ident.c <<EOF
char *MigGenerationDate = "`date`";
char *MigMoreData = "`whoami`@`hostname`";
EOF
cp -a i386 arm
yacc -d parser.y -o parser.c
lex lexxer.l
${PKG_TARG}-gcc -o migcom *.c
pkg: mkdir -p /usr/bin /usr/libexec
pkg: cp -a migcom /usr/libexec
pkg: cp -a mig.sh /usr/bin/mig