]> git.armaanb.net Git - asd-repo.git/blob - junk/checkpassword/build
Create junk repo
[asd-repo.git] / junk / checkpassword / build
1 #!/bin/sh -e
2
3 sed -i "s:extern int errno;:#include <errno.h>:" error.h 
4 sed -i -e 's/gcc/${CC}/g' find-systype.sh
5
6 printf '${CC} ${CFLAGS} -s -lcrypt' > conf-cc
7 printf '${CC} ${CFLAGS} -s -lcrypt' > conf-ld
8
9 make
10 install -Dm755 checkpassword "$1/usr/bin/checkpassword"