# $FreeWRT$
#-
# This file is part of the FreeWRT project. FreeWRT is copyrighted
# material, please see the LICENCE file in the top-level directory
# or at http://www.freewrt.org/licence for details.

include ${TOPDIR}/rules.mk

PKG_NAME:=		libstdcxx
PKG_VERSION:=		$(shell cat ${STAGING_TOOLS}/gcc_version)
PKG_RELEASE:=		2
NO_DISTFILES:=		1

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBSTDCXX,libstdcxx,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))

do-install:
	cd ${STAGING_DIR} && pax -rw -pe -v lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/

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