2008-06-26 19:34:56 +00:00
|
|
|
DESCRIPTION = "Very high-quality data compression program."
|
2010-06-09 09:11:38 +00:00
|
|
|
HOMEPAGE = "http://www.bzip.org/"
|
2008-06-26 19:34:56 +00:00
|
|
|
SECTION = "console/utils"
|
2010-06-09 09:11:38 +00:00
|
|
|
LICENSE = "bzip2"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2"
|
2010-09-27 04:41:44 +00:00
|
|
|
PR = "r3"
|
2008-06-26 19:34:56 +00:00
|
|
|
|
2010-06-11 02:56:09 +00:00
|
|
|
SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \
|
2008-06-26 19:34:56 +00:00
|
|
|
file://configure.ac \
|
|
|
|
file://Makefile.am"
|
|
|
|
|
|
|
|
CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
|
|
|
|
|
2010-09-27 04:41:44 +00:00
|
|
|
inherit autotools update-alternatives
|
|
|
|
|
|
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|
|
ALTERNATIVE_LINKS = "${bindir}/bunzip2 ${bindir}/bzcat"
|
2008-06-26 19:34:56 +00:00
|
|
|
|
|
|
|
do_configure_prepend () {
|
|
|
|
cp ${WORKDIR}/configure.ac ${S}/
|
|
|
|
cp ${WORKDIR}/Makefile.am ${S}/
|
|
|
|
cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/
|
|
|
|
}
|
|
|
|
|
2009-11-04 16:02:36 +00:00
|
|
|
PROVIDES_append_virtclass-native = " bzip2-full-native"
|
|
|
|
BBCLASSEXTEND = "native"
|