mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
e0363a612d
When building with ccache these ports failed to build because CC contains more than one word. The ncurses port also doesn't like how ccache preprocesses files. This patch fixes that.
15 lines
407 B
Bash
Executable file
15 lines
407 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=bzip2
|
|
version=1.0.8
|
|
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz 67e051268d0c475ea773822f7500d0e5"
|
|
auth_type=md5
|
|
makeopts=bzip2
|
|
installopts="PREFIX=${SERENITY_BUILD_DIR}/Root/usr/local"
|
|
|
|
build() {
|
|
run make CC="${CC}" $makeopts bzip2
|
|
}
|
|
|
|
install() {
|
|
run make DESTDIR=$DESTDIR CC="${CC}" $installopts install
|
|
}
|