build-scripts reviewed

This commit is contained in:
Achim Gsell
2018-10-11 23:08:23 +02:00
parent 94ab320acc
commit b74fd7bce4
45 changed files with 139 additions and 230 deletions

View File

@@ -1,17 +1,11 @@
#!/usr/bin/env modbuild
SOURCE_URL="https://ftp.gnu.org/gnu/$P/$P-$V.tar.gz"
pbuild::configure() {
"${SRC_DIR}"/configure \
--prefix="${PREFIX}" \
|| exit 1
}
pbuild::set_download_url "https://ftp.gnu.org/gnu/$P/$P-$V.tar.gz"
# use system gcc to compile
declare -rx CC=gcc
pbuild::add_to_group 'Programming'
pbuild::install_docfiles 'AUTHORS' 'COPYING' 'NEWS' 'README' 'THANKS'
pbuild::make_all