summaryrefslogtreecommitdiff
path: root/package/tar/Makefile
blob: 380f8853e17e6d6941765aaba7d017fa26e6ce4c (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
# 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:=		tar
PKG_VERSION:=		1.22
PKG_RELEASE:=		1
PKG_MD5SUM:=		efafad1b256e3de410f4fce5335d9c9d
PKG_DESCR:=		GNU tar
PKG_SECTION:=		utils
PKG_URL:=		http://mirrors.kernel.org/gnu/tar
PKG_SITES:=		ftp://ftp.informatik.rwth-aachen.de/pub/gnu/tar/ \
                	http://mirrors.kernel.org/gnu/tar/

include ${TOPDIR}/mk/package.mk

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

CONFIGURE_ENV+=		gl_cv_func_mbrtowc_incomplete_state=no \
			gl_cv_func_wcrtomb_retval=no

post-install:
	${INSTALL_DIR} ${IDIR_TAR}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/tar ${IDIR_TAR}/usr/bin

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