From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/file/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/file/Makefile (limited to 'package/file/Makefile') diff --git a/package/file/Makefile b/package/file/Makefile new file mode 100644 index 000000000..c4704c7a7 --- /dev/null +++ b/package/file/Makefile @@ -0,0 +1,32 @@ +# $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:= file +PKG_VERSION:= 4.26 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 74cd5466416136da30a4e69f74dbc7a0 +MASTER_SITES:= ftp://ftp.fu-berlin.de/unix/tools/file/ \ + ftp://ftp.astron.com/pub/file/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,FILE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE:= gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} ${IDIR_FILE}/usr/bin + ${INSTALL_DIR} ${IDIR_FILE}/usr/lib + ${INSTALL_DIR} ${IDIR_FILE}/usr/share/file + ${INSTALL_BIN} ${WRKINST}/usr/bin/file ${IDIR_FILE}/usr/bin + ${INSTALL_DATA} ${WRKINST}/usr/share/file/magic.mgc \ + ${IDIR_FILE}/usr/share/file + ${CP} ${WRKINST}/usr/lib/libmagic.so.* ${IDIR_FILE}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3