summaryrefslogtreecommitdiff
path: root/package/xfsprogs/Makefile
blob: f323ef9e6087b09e285c592880166107f7e4f795 (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
# 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:=		xfsprogs
PKG_VERSION:=		3.0.0
PKG_RELEASE:=		1
PKG_BUILDDEP+=		e2fsprogs
PKG_MD5SUM:=		ec734f935ec87ebb8be890d29380a3e6
PKG_DESCR:=		Utilities to create and check XFS filesystems
PKG_SECTION:=		admin
PKG_DEPENDS:=		libuuid libpthread
PKG_URL:=		http://oss.sgi.com/projects/xfs
PKG_SITES:=		ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
			ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/

include ${TOPDIR}/mk/package.mk

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

CONFIGURE_STYLE=	autoconf gnu
CONFIGURE_ARGS+=	--enable-gettext=no \
			--with-gnu-ld
CONFIGURE_ENV+=		DEBUG=" " OPTIMIZER=" "
BUILD_STYLE=		auto
INSTALL_STYLE=		auto
ALL_TARGET=		

post-install:
	${INSTALL_DIR} ${IDIR_XFSPROGS}/sbin
	${CP} ${WRKINST}/usr/sbin/mkfs.xfs ${IDIR_XFSPROGS}/sbin/
	${CP} ${WRKINST}/usr/sbin/xfs_repair ${IDIR_XFSPROGS}/sbin/

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