mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Redirect bzip2 URL
The domain bzip2.org has expired and is now held by someone placing ads. Aparently bzip2 development is pretty dead for now. Redirect source URL to the debian snapshot archive. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
382f2b9bfe
commit
ab17c95cf9
1 changed files with 4 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
VERSION="1.0.6"
|
VERSION="1.0.6"
|
||||||
SRCDIR="bzip2-${VERSION}"
|
SRCDIR="bzip2-${VERSION}"
|
||||||
TARBALL="${SRCDIR}.tar.gz"
|
TARBALL="bzip2_${VERSION}.orig.tar.bz2"
|
||||||
URL="http://www.bzip.org/1.0.6/"
|
URL="https://snapshot.debian.org/archive/debian/20111204T160411Z/pool/main/b/bzip2"
|
||||||
SHA256SUM="a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd"
|
SHA256SUM="d70a9ccd8bdf47e302d96c69fecd54925f45d9c7b966bb4ef5f56b770960afa7"
|
||||||
DEPENDS="toolchain"
|
DEPENDS="toolchain"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -31,7 +31,5 @@ deploy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_update() {
|
check_update() {
|
||||||
curl --silent -L "$URL" | grep -o "bzip2-[0-9.]*tar.gz" | \
|
return
|
||||||
sed 's/bzip2-//g' | sed 's/.tar.gz//g' | \
|
|
||||||
verson_find_greatest "$VERSION"
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue