Safe download sources

Use safe download sources for various packages, and fix several styling issues.
This commit is contained in:
Toby Chen
2016-01-03 20:24:13 -05:00
parent 437f645387
commit 31a299c881
13 changed files with 118 additions and 88 deletions

View File

@@ -10,24 +10,24 @@ projects, Gnulib does not normally generate a source tarball distribution; \
instead, developers grab modules directly from the source repository.
"
HOMEPAGE="http://www.gnu.org/software/gnulib"
SOURCE_URI="git+git://git.savannah.gnu.org/gnulib.git"
COPYRIGHT="1985-2013 Free Software Foundation."
LICENSE="GNULIB"
REVISION="1"
SOURCE_URI="https://github.com/coreutils/gnulib/archive/6cc32c63e80bc1a30c521b2f07f2b54909b59892.tar.gz"
CHECKSUM_SHA256="fa9f4b8756b303e45703b7b62f552ea02d97fe4b38c197fa115f4133bb777ca7"
SOURCE_DIR="gnulib-6cc32c63e80bc1a30c521b2f07f2b54909b59892"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
LICENSE="GNULIB"
COPYRIGHT="1985-2013 Free Software Foundation."
PROVIDES="
gnulib = $portVersion
cmd:gnulib_tool$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="" # No build, no requirements
BUILD_PREREQUIRES="" # No build, no requirements
BUILD()
@@ -43,7 +43,8 @@ INSTALL()
mkdir -p $dataDir/gnulib $binDir
cp gnulib-tool $dataDir/gnulib/gnulib_tool # Fix binary name in help
cp -R check-copyright check-module posix-modules build-aux config doc lib m4 modules tests top $dataDir/gnulib
cp -R check-copyright check-module posix-modules build-aux config doc \
lib m4 modules tests top $dataDir/gnulib
ln -s $dataDir/gnulib/gnulib_tool $binDir/gnulib_tool
}