Merge pull request #379 from cyj0912/gci

[GCI] #2 Change recipes to download safe sources
This commit is contained in:
waddlesplash
2016-01-28 20:33:29 -05:00
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
}

View File

@@ -1,10 +1,13 @@
SUMMARY="Library for solving packages and reading repositories"
DESCRIPTION="Library for solving packages and reading repositories."
LICENSE="BSD (3-clause)"
COPYRIGHT="2007-2013, Novell Inc."
HOMEPAGE="http://github.com/openSUSE/libsolv"
SOURCE_URI="git+git://github.com/weinhold/libsolv.git#ef4a8778ef567224feb35019b711507ae1d6e7c3"
COPYRIGHT="2007-2013, Novell Inc."
LICENSE="BSD (3-clause)"
REVISION="3"
SOURCE_URI="https://github.com/weinhold/libsolv/archive/ef4a8778ef567224feb35019b711507ae1d6e7c3.tar.gz"
CHECKSUM_SHA256="b3014e0d4b7b32e19f1fff53814f0630207163362f3059fdbf5f8a1fc1fc3118"
SOURCE_DIR="libsolv-ef4a8778ef567224feb35019b711507ae1d6e7c3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -18,6 +21,16 @@ REQUIRES="
lib:libexpat$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
devel:libexpat$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -70,12 +83,3 @@ INSTALL()
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"