summaryrefslogtreecommitdiff
path: root/package/log4cplus/Makefile
blob: 8f557c60011a76fd3d570344c8c183d943c6f228 (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
28
29
# 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:=		log4cplus
PKG_VERSION:=		1.0.4
PKG_RELEASE:=		2
PKG_MD5SUM:=		977d0a390b3be1a4ad8cfab2e4dd3af3
PKG_DESCR:=		Logging framework for C++
PKG_SECTION:=		libs
PKG_DEPENDS:=		libpthread
PKG_BUILDDEP:=		libpthread
PKG_URL:=		http://log4cplus.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=log4cplus/log4cplus-stable/${PKG_VERSION}/}
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include ${TOPDIR}/mk/package.mk

TARGET_LDFLAGS+=        -L$(STAGING_DIR)/usr/lib64

$(eval $(call PKG_template,LOG4CPLUS,log4cplus,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

log4cplus-install:
	${CP} ${WRKINST}/* ${IDIR_LOG4CPLUS}

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