Check-in [a725e4f9fa]
Overview
Comment:Added bzip2 package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | packages
Files: files | file ages | folders
SHA1:a725e4f9fa0bccd619ad7d7f36ddd8c7e1f327e0
User & Date: rkeene on 2014-11-18 15:12:41
Other Links: manifest | tags
Context
2014-11-18
15:21
Updated bzip2 package to be more sane check-in: 036e2ec4da user: rkeene tags: packages
15:12
Added bzip2 package check-in: a725e4f9fa user: rkeene tags: packages
2014-11-14
04:54
Fixed consistency issue with build script specification of -rpath check-in: 1f32b7a12d user: rkeene tags: packages
Changes

Added pkgs/bzip2 version [fabff1cb30].

            1  +#! /usr/bin/env bash
            2  +
            3  +version=1.0.6
            4  +url="http://www.bzip.org/${version}/bzip2-${version}.tar.gz"
            5  +sha256="a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd"
            6  +domain='core.appfs.rkeene.org'
            7  +require=()
            8  +
            9  +function configure() {
           10  +	configure_gcc
           11  +	cat Makefile-libbz2_so | sed "s|CC=gcc|CC=gcc ${CFLAGS} ${LDFLAGS}|g" > Makefile-libbz2_so.new
           12  +	cat Makefile | sed "s|LDFLAGS=|LDFLAGS=${LDFLAGS}|g" | sed "s|CFLAGS=|CFLAGS=${CFLAGS} |g" | sed "s|PREFIX=/usr/local|PREFIX=${destdir}/${prefix}|g" > Makefile.new
           13  +	mv -f Makefile-libbz2_so.new Makefile-libbz2_so
           14  +	mv -f Makefile.new Makefile
           15  +}
           16  +
           17  +function build() {
           18  +	make -f Makefile-libbz2_so
           19  +}
           20  +
           21  +function install() {
           22  +	make install
           23  +	mv libbz2*.so* ${destdir}/${prefix}/lib
           24  +}