summaryrefslogtreecommitdiff
path: root/package/ustl/Makefile
blob: c1d8943b4cb8b52a75503dbcd98e784b7636cd93 (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
30
31
32
33
# 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:=		ustl
PKG_VERSION:=		0.8
PKG_RELEASE:=		1
PKG_MD5SUM:=		dd59483c327f1bd1356273bc5ae4dde0
PKG_DESCR:=		An STL (Standard Template Library) for embedded systems
PKG_SECTION:=		libs
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=ustl/}

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

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,USTL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual

XAKE_FLAGS+=		CROSS="${TARGET_CROSS}" \
			OPTFLAGS="${TARGET_CFLAGS}"

do-configure:
	${CP} ./files/config.h ${WRKBUILD}/
	${CP} ./files/Common.mk ${WRKBUILD}/

post-install:
	${INSTALL_DIR} ${IDIR_USTL}/usr/lib
	${CP} ${WRKINST}/usr/lib/libustl.so* ${IDIR_USTL}/usr/lib/

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