blob: 8f9266c4b31e9537dce658e1964baef7f8571da0 (
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}))
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
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
|