Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #49 from Bobo1239/bzip2
Browse files Browse the repository at this point in the history
Update bzip2 and use debian mirror
  • Loading branch information
PhilHolmes authored Nov 11, 2018
2 parents 4a9ea9b + 4850f21 commit 9723e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gub/specs/bzip2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from gub import target

class Bzip2 (target.MakeBuild):
source = 'http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz'
source = 'http://http.debian.net/debian/pool/main/b/bzip2/bzip2_1.0.6.orig.tar.bz2'
compile_flags = ''' -f Makefile-libbz2_so CC='%(toolchain_prefix)sgcc %(target_gcc_flags)s -fno-stack-protector' '''
install_flags = (target.MakeBuild.install_flags
+ ' PREFIX=%(install_prefix)s')
Expand All @@ -13,7 +13,7 @@ def install (self):
self.system ('cd %(install_prefix)s/bin && rm -f bzless bzfgrep bzegrep bzcmp')

class Bzip2__tools (tools.MakeBuild):
source = 'http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz'
source = 'http://http.debian.net/debian/pool/main/b/bzip2/bzip2_1.0.6.orig.tar.bz2'
compile_flags = ' -f Makefile-libbz2_so'
install_flags = (tools.MakeBuild.install_flags
+ ' PREFIX=%(install_prefix)s')
Expand Down

0 comments on commit 9723e3a

Please sign in to comment.