mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-24 17:23:55 +01:00
38 lines
977 B
Bash
38 lines
977 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild,v 1.7 2009/07/18 20:18:30 josejx Exp $
|
|
|
|
EAPI=2
|
|
inherit toolchain-funcs cvs
|
|
|
|
DESCRIPTION="Tool for creating compressed filesystem type squashfs"
|
|
HOMEPAGE="http://squashfs.sourceforge.net/"
|
|
LICENSE="GPL-2"
|
|
|
|
ECVS_SERVER="squashfs.cvs.sourceforge.net:/cvsroot/squashfs"
|
|
ECVS_MODULE="squashfs/squashfs-tools"
|
|
ECVS_LOCALNAME="squashfs-tools"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
|
IUSE=""
|
|
RDEPEND="sys-libs/zlib
|
|
app-arch/xz-utils"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
src_prepare() {
|
|
sed -i 's|\#XZ_SUPPORT|XZ_SUPPORT|' Makefile || die
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin mksquashfs unsquashfs || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
ewarn "This version of mksquashfs requires a 2.6.29 kernel or better."
|
|
}
|