diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ltp/Makefile |
Initial import
Diffstat (limited to 'package/ltp/Makefile')
-rw-r--r-- | package/ltp/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/ltp/Makefile b/package/ltp/Makefile new file mode 100644 index 000000000..f803bfeee --- /dev/null +++ b/package/ltp/Makefile @@ -0,0 +1,30 @@ +# $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:= ltp-full +PKG_VERSION:= 20061121 +PKG_RELEASE:= 2 +PKG_MD5SUM:= f01dd2119c5d4462e876229df394ecbf +MASTER_SITES:= http://switch.dl.sourceforge.net/sourceforge/ltp/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LTP,ltp,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +BUILD_STYLE:= auto +INSTALL_STYLE:= auto +XAKE_FLAGS+= CROSS_COMPILER="${TARGET_CROSS}" \ + CROSS_CFLAGS="${TCFLAGS} -I${WRKBUILD}/include" \ + CPPFLAGS="${TCPPFLAGS}" \ + LDFLAGS="${TLDFLAGS}" + +post-install: + ${CP} ${WRKBUILD} ${IDIR_LTP} + find ${IDIR_LTP} \( -name '*.c' -o -name '*.h' -o -name '*.o' \) -exec rm '{}' \; + +include ${TOPDIR}/mk/pkg-bottom.mk |