diff options
Diffstat (limited to 'app-arch/wimlib')
-rw-r--r-- | app-arch/wimlib/Manifest | 1 | ||||
-rw-r--r-- | app-arch/wimlib/metadata.xml | 4 | ||||
-rw-r--r-- | app-arch/wimlib/wimlib-1.14.1.ebuild | 52 |
3 files changed, 55 insertions, 2 deletions
diff --git a/app-arch/wimlib/Manifest b/app-arch/wimlib/Manifest index b34d8317072a..a7bd60bb4ea2 100644 --- a/app-arch/wimlib/Manifest +++ b/app-arch/wimlib/Manifest @@ -1 +1,2 @@ DIST wimlib-1.13.4.tar.gz 1040411 BLAKE2B 4563429d42be39b959a15ef66ac4c173531ff0c0b0f1a341812a4f870c9f189478f3ce78bf6240544f71b1746d98c9eae3f7182d646355343e26526559384f07 SHA512 480fe6fa6c6e8f1bf9c3960f5e1671f3266535b18dc72e9d7c4c05c7fb833d9b00db5ae9fb49154da6e71e536cae8b562cbf81ab5a124e2a79326927e2cf7344 +DIST wimlib-1.14.1.tar.gz 1046078 BLAKE2B 56e44928229c9c4fda662fa64fc4021bd361c2c959f0786764b84fa4cc9d7f7b0d5440edb4d4079657cc7bf450ac9c755f554c7da7a8b2b7e96d69ddbeb4f22f SHA512 9f92a8ce2d386918d66a1a3e52d4fbffeeb9f8b9345b25012fd0bd07039a00be84fd83d83a9bb25bcefab09597a81e9392522be835dd6693dd00050f8624af00 diff --git a/app-arch/wimlib/metadata.xml b/app-arch/wimlib/metadata.xml index c8ff4e0d7be0..2c160e3ee81d 100644 --- a/app-arch/wimlib/metadata.xml +++ b/app-arch/wimlib/metadata.xml @@ -4,8 +4,8 @@ <!-- maintainer-needed --> <use> <flag name="fuse">Use fuse libraries</flag> - <flag name="iso">Install app-cdr/cdrtools in order to prepare iso images</flag> - <flag name="ntfs">Use libntfs-3g library from sys-fs/ntfs3g</flag> + <flag name="iso">Install <pkg>app-cdr/cdrtools</pkg> in order to prepare iso images</flag> + <flag name="ntfs">Use libntfs-3g library from <pkg>sys-fs/ntfs3g</pkg></flag> <flag name="yasm">Use yasm assembler instead of nasm</flag> </use> </pkgmetadata> diff --git a/app-arch/wimlib/wimlib-1.14.1.ebuild b/app-arch/wimlib/wimlib-1.14.1.ebuild new file mode 100644 index 000000000000..14ba614885b5 --- /dev/null +++ b/app-arch/wimlib/wimlib-1.14.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools pax-utils + +DESCRIPTION="The open source Windows Imaging (WIM) library" +HOMEPAGE="https://wimlib.net" +SRC_URI="https://wimlib.net/downloads/${P}.tar.gz" + +LICENSE="|| ( GPL-3+ LGPL-3+ ) MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="fuse iso ntfs test yasm" +RESTRICT="!test? ( test )" + +RDEPEND=" + fuse? ( sys-fs/fuse:3 ) + iso? ( + app-arch/cabextract + app-cdr/cdrtools + ) + ntfs? ( sys-fs/ntfs3g:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with ntfs ntfs-3g) + $(use_with fuse) + $(use_enable test test-support) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + pax-mark m "${S}"/.libs/wimlib-imagex +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |