diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-08 09:02:51 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-08 09:04:20 +0200 |
commit | a3402b66005ecf1b6bcbf9aa6ac8f62f70f41bfb (patch) | |
tree | 9ed4e382c0bbe848726fe1c425f6928f75c2f305 /sys-block/gpart | |
parent | sys-apps/debianutils: Removed old. (diff) | |
download | gentoo-a3402b66005ecf1b6bcbf9aa6ac8f62f70f41bfb.tar.gz gentoo-a3402b66005ecf1b6bcbf9aa6ac8f62f70f41bfb.tar.bz2 gentoo-a3402b66005ecf1b6bcbf9aa6ac8f62f70f41bfb.zip |
sys-block/gpart: Bump to version 0.3
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-block/gpart')
-rw-r--r-- | sys-block/gpart/Manifest | 1 | ||||
-rw-r--r-- | sys-block/gpart/files/gpart-0.3-build.patch | 10 | ||||
-rw-r--r-- | sys-block/gpart/gpart-0.3.ebuild | 34 |
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-block/gpart/Manifest b/sys-block/gpart/Manifest index 56e327da7c53..011803fc3199 100644 --- a/sys-block/gpart/Manifest +++ b/sys-block/gpart/Manifest @@ -1,2 +1,3 @@ DIST gpart-0.1h-reiserfs-3.6.patch.gz 3658 SHA256 769f5587853cb7d9c3ba4d0496bbb57d42d04ad561a42d24bcbe5f4723849a3c SHA512 c39433e1d6dc0a995322f9985cb1735e89e3c3c7230193609ab2c82fa4cc3fc921d8743b37f6fba18cdda71d29cd83afcb36870fceb88d2a26f7113022226a60 WHIRLPOOL a98483eeffa1749be09b08f56ab5e86f47ed23ecd26aab71c3f8eb554a2066728e7162723391a06d845247dee9fa65ea29e63198906942584f597dd6eb71a4cb DIST gpart-0.1h.tar.gz 52352 SHA256 b9fdb064efabf5d63d7db6f07605c2fca3d011ecfa05ab3723dd98b9bde3a2ff SHA512 673cc99ccc2342c18be3f6395bf7258ab1d8e2ffeac6fd68a4bd75c89825031cb9d7ae628c51bad4da47a8d0625f1608cf4c78345aae5205fd98a9a908a3d45c WHIRLPOOL b3c54bf67d2d7cbe01171f438988db352051a33f9778606c182bf2a27d6f1414b774f94fbb20313cf0424b6e812b2e00195658289b3a91ca4eb8945da4eb2cc4 +DIST gpart-0.3.tar.gz 53589 SHA256 ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd SHA512 5ee8bc551050d26dc71898d3232549d2b96e0806071571b120cbf819282da0ec2246147a0dfc44576e62d68092bb0183c1a9bb71db7ddca12c0922da60aeea35 WHIRLPOOL 3aaa6996863bb91d0dde81fa004413b92c122c914ed5e9824c8b51f9202b0c94974fb1c3965bb4eb9928cb7ed975d0986e9b436727eefa9ce46ece40749fd2ef diff --git a/sys-block/gpart/files/gpart-0.3-build.patch b/sys-block/gpart/files/gpart-0.3-build.patch new file mode 100644 index 000000000000..f45545d0fd80 --- /dev/null +++ b/sys-block/gpart/files/gpart-0.3-build.patch @@ -0,0 +1,10 @@ +--- gpart-0.3/Makefile.am ++++ gpart-0.3/Makefile.am +@@ -1,6 +1,6 @@ + AUTOMAKE_OPTIONS = foreign + SUBDIRS = src man + +-docdir = $(datadir)/doc/@PACKAGE@ ++docdir = $(datadir)/doc/@PACKAGE@-@VERSION@ + doc_DATA = Changes README.md + EXTRA_DIST = Changes README.md diff --git a/sys-block/gpart/gpart-0.3.ebuild b/sys-block/gpart/gpart-0.3.ebuild new file mode 100644 index 000000000000..7b56760641f2 --- /dev/null +++ b/sys-block/gpart/gpart-0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Partition table rescue/guessing tool" +HOMEPAGE="https://github.com/baruch/gpart" +SRC_URI="https://github.com/baruch/gpart/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1h-errno.patch + "${FILESDIR}"/${PN}-0.3-build.patch +) + +src_prepare() { + default + + # Fix version string in build environment. + if [[ "$(awk -F , '/^AC_INIT/ {print $2}' configure.ac)" != ${PV} ]] ; then + sed "/^AC_INIT/s@, [[:digit:]\.]\+[[:alnum:]-]*,@, ${PV},@" \ + -i configure.ac || die + fi + + eautoreconf +} |