blob: 95e616cc46022873e13a404939928c0da5b1497f (
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
34
35
36
|
# $Id$
#-
# 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:= uClibc++
PKG_VERSION:= 0.2.1
PKG_RELEASE:= 1
PKG_MD5SUM:= 6e6032c49916b199ffe6a585552fd46b
MASTER_SITES:= http://cxx.uclibc.org/src/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,UCLIBCXX,uclibc++,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
BUILD_STYLE:= auto
MAKE_FLAGS+= TOPDIR="${WRKBUILD}/" \
${TARGET_CONFIGURE_OPTS} \
ARCH_CFLAGS="${TARGET_CFLAGS}" \
CROSS="${TARGET_CROSS}"
TARGET_CONFIGURE_OPTS=
do-configure:
${CP} ./files/config ${WRKBUILD}/.config
do-install:
${INSTALL_DIR} ${IDIR_UCLIBCXX}/usr/lib
${CP} ${WRKBUILD}/src/libuClibc++*.so* ${IDIR_UCLIBCXX}/usr/lib/
${INSTALL_DIR} ${WRKINST}/usr/include
${CP} ${WRKBUILD}/include ${WRKINST}/usr/include/uClibc++
include ${TOPDIR}/mk/pkg-bottom.mk
|