diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/jfsutils/jfsutils-1.1.15.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/jfsutils/jfsutils-1.1.15.ebuild')
-rw-r--r-- | sys-fs/jfsutils/jfsutils-1.1.15.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-fs/jfsutils/jfsutils-1.1.15.ebuild b/sys-fs/jfsutils/jfsutils-1.1.15.ebuild new file mode 100644 index 000000000000..d0b41cae9f48 --- /dev/null +++ b/sys-fs/jfsutils/jfsutils-1.1.15.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic eutils + +DESCRIPTION="IBM's Journaling Filesystem (JFS) Utilities" +HOMEPAGE="http://jfs.sourceforge.net/" +SRC_URI="http://jfs.sourceforge.net/project/pub/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh ~sparc x86" +IUSE="static" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-linux-headers.patch #448844 + epatch "${FILESDIR}"/${P}-sysmacros.patch #580056 +} + +src_configure() { + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + use static && append-ldflags -static + econf --sbindir=/sbin +} + +src_install () { + default + + rm -f "${ED}"/sbin/{mkfs,fsck}.jfs || die + dosym /sbin/jfs_mkfs /sbin/mkfs.jfs + dosym /sbin/jfs_fsck /sbin/fsck.jfs +} |