diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
commit | 7f3fecbb5b871825fe9632f46659869cab6a3769 (patch) | |
tree | dd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /sci-libs/shapelib/shapelib-1.6.0.ebuild | |
parent | a98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff) |
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'sci-libs/shapelib/shapelib-1.6.0.ebuild')
-rw-r--r-- | sci-libs/shapelib/shapelib-1.6.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/shapelib/shapelib-1.6.0.ebuild b/sci-libs/shapelib/shapelib-1.6.0.ebuild new file mode 100644 index 000000000000..576d2163972f --- /dev/null +++ b/sci-libs/shapelib/shapelib-1.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for manipulating ESRI Shapefiles" +HOMEPAGE="http://shapelib.maptools.org/" +SRC_URI="https://download.osgeo.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +src_prepare() { + default + rm -f m4/* || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --includedir="${EPREFIX}"/usr/include/libshp + --prefix="${EPREFIX}"/usr + ) + econf "${myeconfargs[@]}" +} + +src_install() { + use doc && HTML_DOCS=( web/. ) + default + + if ! use static-libs; then + find "${ED}" \( -name '*.la' -o -name '*.a' \) -delete || die + fi +} |