Diff libmspack-1.11 with a libmspack-9999
| /usr/portage/dev-libs/libmspack/libmspack-9999.ebuild 2026-11-16 17:41:27.942399628 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
inherit autotools |
| 7 | 7 | |
| 8 |
DESCRIPTION="Library for Microsoft compression formats" |
|
| 9 |
HOMEPAGE="https://www.cabextract.org.uk/libmspack/" |
|
| 10 | ||
| 8 | 11 |
if [[ ${PV} == *9999 ]] ; then
|
| 9 | 12 |
EGIT_REPO_URI="https://github.com/kyz/libmspack.git" |
| 10 | 13 |
inherit git-r3 |
| 11 | 14 |
else |
| 12 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" |
|
| 15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" |
|
| 13 | 16 |
SRC_URI="https://github.com/kyz/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 14 | 17 |
fi |
| 15 | 18 | |
| 16 |
DESCRIPTION="A library for Microsoft compression formats" |
|
| 17 |
HOMEPAGE="https://www.cabextract.org.uk/libmspack/" |
|
| 18 | ||
| 19 | 19 |
S="${WORKDIR}/${P}/${PN}"
|
| 20 | 20 | |
| 21 | 21 |
LICENSE="LGPL-2.1" |
| ... | ... | |
| 24 | 24 | |
| 25 | 25 |
src_prepare() {
|
| 26 | 26 |
default |
| 27 | ||
| 28 | 27 |
eautoreconf |
| 29 | 28 |
} |
| 30 | 29 | |
| ... | ... | |
| 32 | 31 |
econf $(use_enable debug) |
| 33 | 32 |
} |
| 34 | 33 | |
| 35 |
src_test() {
|
|
| 36 |
default |
|
| 37 | ||
| 38 |
cd "${S}"/test || die
|
|
| 39 |
./cabd_test || die |
|
| 40 |
} |
|
| 41 | ||
| 42 | 34 |
src_install() {
|
| 43 | 35 |
use doc && HTML_DOCS=( doc/. ) |
| 44 | 36 | |