forked from kiss-community/repo
19 lines
297 B
Bash
Executable File
19 lines
297 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
for patch in *.patch; do
|
|
patch -p1 < "$patch"
|
|
done
|
|
|
|
# Avoid repeating ourselves.
|
|
mk() {
|
|
make \
|
|
libdir=/usr/lib/ \
|
|
bindir=/usr/bin/ \
|
|
mandir=/usr/share/man/ \
|
|
includedir=/usr/include/ \
|
|
"$@"
|
|
}
|
|
|
|
mk CC="${CC:-cc}"
|
|
mk DESTDIR="$1" install
|