summaryrefslogtreecommitdiff
path: root/package/bzip2/Makefile
blob: 9bcb61af5b6b84d6c449f949ac48c2eeb4c18257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		bzip2
PKG_VERSION:=		1.0.6
PKG_RELEASE:=		1
PKG_MD5SUM:=		00b516f4704d4a7cb50a1d97e6e8e15b
PKG_DESCR:=		bzip2 compression utility
PKG_SECTION:=		archive
PKG_URL:=		http://www.bzip.org/
PKG_SITES:=		http://www.bzip.org/${PKG_VERSION}/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,BZIP2,bzip2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
TARGET_CFLAGS+=		-fPIC
XAKE_FLAGS+=		PREFIX=${WRKINST}/usr

bzip2-install:
	${INSTALL_DIR} ${IDIR_BZIP2}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/bzip2 ${IDIR_BZIP2}/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk