mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
102 lines
2.7 KiB
Bash
102 lines
2.7 KiB
Bash
SUMMARY="Standard EXT2/EXT3/EXT4 filesystem utilities"
|
|
DESCRIPTION="Various tools to manage EXT2,3,4 filesystems (resize, etc)"
|
|
HOMEPAGE="http://e2fsprogs.sourceforge.net/"
|
|
COPYRIGHT="2004-2017 Theodore Ts'o"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$portVersion.tar.gz
|
|
https://sourceforge.mirrorservice.org/e/e2/e2fsprogs/e2fsprogs/v$portVersion/e2fsprogs-$portVersion.tar.gz
|
|
https://fossies.org/linux/misc/e2fsprogs-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c2ae6d8ce6fb96b55886cf761411fc22ab41976f4f8297fc54c706df442483be"
|
|
PATCHES="e2fsprogs-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/mke2fs.conf keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
e2fsprogs$secondaryArchSuffix = $portVersion
|
|
cmd:badblocks$commandSuffix
|
|
cmd:chattr$commandSuffix
|
|
cmd:dumpe2fs$commandSuffix
|
|
cmd:e2freefrag$commandSuffix
|
|
cmd:e2fsck$commandSuffix
|
|
cmd:e2image$commandSuffix
|
|
cmd:e2label$commandSuffix
|
|
cmd:e2mmpstatus$commandSuffix
|
|
cmd:e2undo$commandSuffix
|
|
cmd:filefrag$commandSuffix
|
|
cmd:findfs$commandSuffix
|
|
cmd:fsck.ext2$commandSuffix
|
|
cmd:fsck.ext3$commandSuffix
|
|
cmd:fsck.ext4$commandSuffix
|
|
cmd:logsave$commandSuffix
|
|
cmd:lsattr$commandSuffix
|
|
cmd:mke2fs$commandSuffix
|
|
cmd:mkfs.ext2$commandSuffix
|
|
cmd:mkfs.ext3$commandSuffix
|
|
cmd:mkfs.ext4$commandSuffix
|
|
cmd:mklost+found$commandSuffix
|
|
cmd:resize2fs$commandSuffix
|
|
cmd:tune2fs$commandSuffix
|
|
cmd:uuidd$commandSuffix
|
|
lib:libcom_err$secondaryArchSuffix = 2.1 compat >= 2
|
|
lib:libe2p$secondaryArchSuffix = 2.3 compat >= 2
|
|
lib:libext2fs$secondaryArchSuffix = 2.4 compat >= 2
|
|
lib:libss$secondaryArchSuffix = 2.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libblkid$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libuuid$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libblkid$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libuuid$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
libdir=`finddir B_COMMON_LIB_DIRECTORY`
|
|
runConfigure --omit-dirs "binDir sbinDir" ./configure \
|
|
--bindir="$commandBinDir" \
|
|
--sbindir="$commandBinDir" \
|
|
USE=-loop-aes --disable-tls \
|
|
--disable-libblkid --disable-libuuid \
|
|
--disable-fsck --disable-debugfs \
|
|
--enable-elf-shlibs --enable-symlink-build --enable-symlink-install
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
LIBRARY_PATH="$sourceDir/lib${LIBRARY_PATH:+:$LIBRARY_PATH}" \
|
|
make check
|
|
}
|