diff options
-rw-r--r-- | packages/app-arch/pigz/pigz-2.2.5.exheres-0 | 18 | ||||
-rw-r--r-- | packages/app-arch/pigz/pigz-2.3.3.exheres-0 | 30 |
2 files changed, 30 insertions, 18 deletions
diff --git a/packages/app-arch/pigz/pigz-2.2.5.exheres-0 b/packages/app-arch/pigz/pigz-2.2.5.exheres-0 deleted file mode 100644 index dd30b89..0000000 --- a/packages/app-arch/pigz/pigz-2.2.5.exheres-0 +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2012 Elias Pipping <pipping@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -SUMMARY="Parallel implementation of gzip" -HOMEPAGE="http://www.zlib.net/${PN}" -DOWNLOADS="${HOMEPAGE}/${PNV}.tar.gz" - -LICENCES="ZLIB" -SLOT="0" -PLATFORMS="~amd64" -MYOPTIONS="" - -src_install() { - dobin ${PN} - doman ${PN}.1 - dodoc README ${PN}.pdf -} - diff --git a/packages/app-arch/pigz/pigz-2.3.3.exheres-0 b/packages/app-arch/pigz/pigz-2.3.3.exheres-0 new file mode 100644 index 0000000..0ca8068 --- /dev/null +++ b/packages/app-arch/pigz/pigz-2.3.3.exheres-0 @@ -0,0 +1,30 @@ +# Copyright 2012 Elias Pipping <pipping@exherbo.org> +# Copyright 2015 Kylie McClain <somasissounds@gmail.com> +# Distributed under the terms of the GNU General Public License v2 + +require alternatives + +SUMMARY="Parallel implementation of gzip" +HOMEPAGE="http://www.zlib.net/${PN}" +DOWNLOADS="${HOMEPAGE}/${PNV}.tar.gz" + +LICENCES="ZLIB" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="" + +src_install() { + # gzip uses /bin so we should probably follow suit + edo mkdir "${IMAGE}/bin" + edo mv ${PN} "${IMAGE}/bin" + dosym "/bin/${PN}" "/bin/unpigz" + + doman ${PN}.1 + dodoc README ${PN}.pdf + + alternatives_for "gzip" "${PN}" "50" \ + "/bin/gzip" "${PN}" \ + "/bin/gunzip" "unpigz" \ + "/usr/share/man/man1/gzip.1" "${PN}.1" +} + |