summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-02-18 06:18:52 +0000
committerMike Frysinger <vapier@gentoo.org>2014-02-18 06:18:52 +0000
commit6831cdadae1ce1997a100eaed633e20f21a5a692 (patch)
treed6389f24b4c73fcb3086cf53c7c3eb316edb6f68 /app-arch
parentadd makeself 2.2.0 version (diff)
downloadhistorical-6831cdadae1ce1997a100eaed633e20f21a5a692.tar.gz
historical-6831cdadae1ce1997a100eaed633e20f21a5a692.tar.bz2
historical-6831cdadae1ce1997a100eaed633e20f21a5a692.zip
Version bump.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/makeself/ChangeLog11
-rw-r--r--app-arch/makeself/Manifest43
-rw-r--r--app-arch/makeself/files/makeself-2.2.0-help-header.patch124
-rwxr-xr-xapp-arch/makeself/files/makeself-unpack40
-rw-r--r--app-arch/makeself/makeself-2.2.0.ebuild29
5 files changed, 206 insertions, 41 deletions
diff --git a/app-arch/makeself/ChangeLog b/app-arch/makeself/ChangeLog
index f91c48e14c28..8b1b0b3cf06f 100644
--- a/app-arch/makeself/ChangeLog
+++ b/app-arch/makeself/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/makeself
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/makeself/ChangeLog,v 1.31 2012/08/29 13:48:32 kensington Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/makeself/ChangeLog,v 1.32 2014/02/18 06:18:50 vapier Exp $
+
+*makeself-2.2.0 (18 Feb 2014)
+
+ 18 Feb 2014; Mike Frysinger <vapier@gentoo.org>
+ +files/makeself-2.2.0-help-header.patch, +makeself-2.2.0.ebuild,
+ files/makeself-unpack:
+ Version bump.
29 Aug 2012; Michael Palimaka <kensington@gentoo.org> -makeself-2.1.5.ebuild:
Remove old.
diff --git a/app-arch/makeself/Manifest b/app-arch/makeself/Manifest
index 7aa6f661e9e0..47d819660e81 100644
--- a/app-arch/makeself/Manifest
+++ b/app-arch/makeself/Manifest
@@ -1,33 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-- -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX makeself-unpack 2706 SHA256 f261dd66ab659323388a815ee557ded11ef875b1acf9d28891b4a60b90ba23aa SHA512 adc2d7f7ad7108b35aa0b7eb9e6e1c3dd48e00d70d1dfd9f0d211fa8181f74d3c684cb56b322777c305a5eac127c13783da3f737883bc0cd674e3df8ca68a8b0 WHIRLPOOL 3f529ed4bf30a1ea75dd7803dcedf95dbadd992a2248ef55ca19aae6a9f052c4b59e6603fcbe6701c3ccb4896bb01736a00f625bf31b834e019b0be9ae6a42a5
+AUX makeself-2.2.0-help-header.patch 6728 SHA256 81a174702c496fc0624c6ed7c69a0cd7df8d1c673a411bba019d2d55cc4b4efc SHA512 5cdee18f5190086e8421d091406df5aeefdc9fe3aaee6c26aa990b1eb7d6f415c8c8ebf67137a1b2a22470c14749d394808ed9e5a4fc6f737cd87c32651e2a8c WHIRLPOOL a2aa84ed6d7bb804b12073651bf2d4fcfc03176a0437a86aac04647dd9d5683fd701e3e5c3e9e9214039ecb00e31c374e24e852d7f3382fc127854390848b5e8
+AUX makeself-unpack 2814 SHA256 5cd5e71f6aa5f12f4ff1d8f54820ba7c049827ef8684af70d7b74a0764dbdfaf SHA512 dc2ffc94a2a48eefc667cb8cd77b7ea91da3b299572928412bc323c2cfe328775d3de0c6f7bc191cd6f785cee9c39a592201e17efa917a700f8ebec2ddc93527 WHIRLPOOL 0de03c49b182c2536ebb6104cfec61336acdc8f57347dff14e1e09030362e0d10c56c48f3f9ccfecd9d241e7d0965a5d6f5330c6c914ee44f119283fe358e35b
DIST makeself-2.1.5.run 38210 SHA256 8227668bb35c34d86e6f0fe69c7bf4bd2813f51edfcbfc227896b4787b0a1a4e SHA512 c556770deea504573c50bc7c15340ed91c65d372e93c47dfc10fd6e8265b2462842da12b36898d4291cbac9e954ec12f2f6972bcf40e97ed82dbd22af21d3a91 WHIRLPOOL 6e6be1c047238280f737611049af7daa0902b52e7d065033f7ead665614da809bc1f5903b6163c768f191bf7e0ced566ac6168ab6fc5604bc1d2fed8dac72e37
+DIST release-2.2.0.tar.gz 21640 SHA256 9c9d003e097d9c198433a05926e64d9b7cd330c7f10cb4e6048877d0a87de341 SHA512 11cd536baed2d56405103f18a8318a202092755a74baf10730aa58dc57032e327697b1c7f76bf9bf438927093ba9ac467ffa0c4564c7f6b1d3b2b3936f34fa73 WHIRLPOOL ec9d7caa4ffed938e61e756636af04cf793158761c3a2b41e7ee4c18a415d6a41a4ed4499bd0b867dee930f281f901a80082bed75d9e9d7e237f3f85ad7ea590
EBUILD makeself-2.1.5-r1.ebuild 692 SHA256 e10e16665083f57410bc744cf31a9086fd9eb43a2933afdc78ac5ba7710009fb SHA512 71446f3f761c27487480652110f518ce91fd4b088c18693ebddf089938f5c796c8e6e7e392cf5775698d3306f90dc9465326374f81b936e43b7ecece27cb9f1f WHIRLPOOL d08cc76606166af1774d83b855cfd52eaaeaf07b3372d31b4d5a344bb296073ceadaa8c206fa7661a77e54b9227d455eac360b5d1f53cf44661ae37b6bac8beb
-MISC ChangeLog 3663 SHA256 cb83e6a2b32494a1509421d5b5b658b08b51b4063bad768e66c6f19a3110c01b SHA512 55807cfa8955db7fc9bbf19abaf2907ad044bfe15be75ba704a28aad34ce566b32e2ddfcf390ab76e79b727c65f057494e74dc63aced5f59398de284b7a2cf6f WHIRLPOOL bf69d1152c583c5afb9cfbcb16626bf08882865851abe91088443004fba92b0a877a4fbcc10c4e8027a866f2e1fdef1b9e92dc099ceddeee4cb993209e49293c
+EBUILD makeself-2.2.0.ebuild 810 SHA256 de4a89b1e3ddf13f0ac97fbf85f62699ed347dff77085e649df5b737f1a7a021 SHA512 9ef2053d3f9656fa29c220465e19bb8b3b66fff4573785e21ba78c202bc656b5465a6588e2d250e93aac7d72c6f0f7c25dbc0237305732e20266f07fda5ace1f WHIRLPOOL 8c2cf0b4d30aa176167be1d72f971141ec3339a14ff76d653ad5ada900cb0396be85bf391cd64d13fdf4949be18e8da821b48624adcf26ba97eab7d57982c7e3
+MISC ChangeLog 3849 SHA256 f8b2a964730ee62bcac195b81d5cda7bdfad7b247e7191b118ac7ab260e2adf2 SHA512 52be1481f05e4b307f4fbe25d4e190fb8cb9b06e29af62cb812d37a5b884ad2eac89ee309402b0e46d96433ce482344313e5183970f87d72df3a2d02952a65f4 WHIRLPOOL 3c143ad341618ae2e7a1ecd8dd20a9f1e7d64d72fb726f766e8c8c268a782cb3fcfdfb001dd6ddb8bfff98a0d8b78c6f940382a0ecfbfb69777b4ebd48f2eeaa
MISC metadata.xml 214 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 SHA512 701b8c51f43f8660d40700929c243a2dae9f19dcbc7b8eca877e20eadc1ae2e0c84f7c7d8c3cb576055c1a49a55e9c759ef469eeda67026ce252d341937f6691 WHIRLPOOL 977119e736e0795137df14faae681f7fa07ba8297a19ef4a7d7b93de7efceaed16f7103f179a762be41b8849c33c535b55d16d2fd0ea795df0525592752e0156
-- -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQEcBAEBCAAGBQJQPh2KAAoJEMbwO6tnXQ0sBbEIANd4tq6M8dASfYDzZRr+3hlj
-iyuzCZ2yfgsZH8Kz2JaH/cMyJ7lk0WcENDiCUgPDZ8WwEq3mD9S+zOOyYZKzMFR7
-Cumwo33/5R8Dh8y3SBuSVQyw759gOO5aGPydJGRESki0gYdjSCHHhl1iASZs2164
-4RWURD2T71EZi2AzrFPg0c4X4pSJoFy5qt56yupXUUcrelS/shiAQzBOB+fl4BHY
-4pQ7KT/1rthZi3ZDLwrGMUl3S9nDUPaImYAk1KOpuEjXLyixQnqpYeP/CZrv4Mum
-ANf/znFWsJsLw3IZVJ6V54BEG8g0GGh4T6DBKEvRJPy0LyW+taJ9fCRZAdxqNeA=
-=qUIX
-- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJQPh7NAAoJEMbwO6tnXQ0suKAH/1Za+VTLXAGlvfO/PUJajtme
-d8d4E/V4nSrK1ZTQnspNKGbDwBjg3lk5sxF7J3NOiMOdqGc0v/37NdWGYmBNdLn0
-oQvEPORtEhyGhmpwnJMzg0ofkVc7DrnrpMlYTxdMrnJ/50h8q2ZxopwnYDiAPoM9
-+ER+vD0sk2tnI0Gtyy/2SmzlSVGVSX2ZWJc7OMSaU+vqKMJk6/4XOJdG5/opFk4v
-+IIuTmjnjKwUD63go3+vArpIVv3WI0EgTvRkvNem7QpBksyPWmc2QjR5+JT3+H75
-Fn2bsrGbTjAFfLI4tn5rmJHDwARovqXKA3DyLatyssO4wA6Et1BD6E2a/AMi0L8=
-=6pvG
+iQIcBAEBCAAGBQJTAvtSAAoJEPGu1DbS6WIAyY8P/26MkivYymUGsT4EEJWrW9ow
+wtmvBLpMX+6WW4ImO7a4VrVsQeEIpqYNfGus/iVjKKB1s4/r9DiJS3+jCVhaRHny
+5XRYYxrZ3lx+phT1lc0QWmktLKmeuB0XPrLhdx6jcEPGm9R3rDiAlEN1Eiq1eMmV
+ax0EH3MD0vAzkZK2dVUCxsoopGGF/vKcpUvd8FcS5Adbfij5FOPFx9NvgdBUBQDx
+CkD+Ng5eQA38GnrxN0FSa1u52O59DfKCrPCHFgjGCOvJQmycTbLXVgo8DPbvVjDQ
+xFiefPR23bnANJLrXmIuAODpSazypLUK8uY+RVyiAz6X9qH/xkxfM8BV8qpnce43
+j2qlny3DiqGlgxKK8RfRTtZDYxPAKch1aicyIqxW5bN1PbJ5FhLNLSjYKRWS3Dhb
+mHuN3AY+srkA6ejeDYY+5CsVjDS5W0BNd0HnzXvlJT+nV4HjUAawXwkqwaQpMVOh
+QV77T05v/nWsY1bkVKs60KH6wkZ744qtNyqIioexu307kuAsKPUVzedljtcAd/l0
+X3Pbx1zdxMeE5Ao+nrx9ksR+B7UNqOM4/2xgw5LQ9PTDd/7IkqH6O8N58cTrfJL/
+DkzbeHhRWB3vaNuO3j+Z/N6ZRGhZpSoPnFJilKo7Qr7SAuPwDdVGa8bkDUijoPAQ
+odd7ZvVAh6jq6C2WAfMd
+=Z4Du
-----END PGP SIGNATURE-----
diff --git a/app-arch/makeself/files/makeself-2.2.0-help-header.patch b/app-arch/makeself/files/makeself-2.2.0-help-header.patch
new file mode 100644
index 000000000000..5726bf55f7da
--- /dev/null
+++ b/app-arch/makeself/files/makeself-2.2.0-help-header.patch
@@ -0,0 +1,124 @@
+From c9f605cb4a3903985f2c6f816c30c1edf728c1b5 Mon Sep 17 00:00:00 2001
+From: Jon Salz <jsalz@google.com>
+Date: Mon, 27 Jan 2014 16:04:33 +0800
+Subject: [PATCH] Add --help-header option to prepend a string to the archive's
+ --help.
+
+---
+ makeself-header.sh | 3 ++-
+ makeself.sh | 71 ++++++++++++++++++++++++++++++------------------------
+ 2 files changed, 41 insertions(+), 33 deletions(-)
+
+diff --git a/makeself-header.sh b/makeself-header.sh
+index e3f6c11..f97758c 100755
+--- a/makeself-header.sh
++++ b/makeself-header.sh
+@@ -13,6 +13,7 @@ label="$LABEL"
+ script="$SCRIPT"
+ scriptargs="$SCRIPTARGS"
+ licensetxt="$LICENSE"
++helpheader='$HELPHEADER'
+ targetdir="$archdirname"
+ filesizes="$filesizes"
+ keep="$KEEP"
+@@ -119,7 +120,7 @@ MS_dd_Progress()
+ MS_Help()
+ {
+ cat << EOH >&2
+-Makeself version $MS_VERSION
++\${helpheader}Makeself version $MS_VERSION
+ 1) Getting help or info about \$0 :
+ \$0 --help Print this message
+ \$0 --info Print embedded info : title, default target directory, embedded script ...
+diff --git a/makeself.sh b/makeself.sh
+index 361d710..cb2d6f2 100755
+--- a/makeself.sh
++++ b/makeself.sh
+@@ -88,38 +88,39 @@ MS_Usage()
+ {
+ echo "Usage: $0 [params] archive_dir file_name label startup_script [args]"
+ echo "params can be one or more of the following :"
+- echo " --version | -v : Print out Makeself version number and exit"
+- echo " --help | -h : Print out this help message"
+- echo " --quiet | -q : Do not print any messages other than errors."
+- echo " --gzip : Compress using gzip (default if detected)"
+- echo " --bzip2 : Compress using bzip2 instead of gzip"
+- echo " --pbzip2 : Compress using pbzip2 instead of gzip"
+- echo " --xz : Compress using xz instead of gzip"
+- echo " --compress : Compress using the UNIX 'compress' command"
+- echo " --complevel lvl : Compression level for gzip xz bzip2 and pbzip2 (default 9)"
+- echo " --base64 : Instead of compressing, encode the data using base64"
+- echo " --nocomp : Do not compress the data"
+- echo " --notemp : The archive will create archive_dir in the"
+- echo " current directory and uncompress in ./archive_dir"
+- echo " --copy : Upon extraction, the archive will first copy itself to"
+- echo " a temporary directory"
+- echo " --append : Append more files to an existing Makeself archive"
+- echo " The label and startup scripts will then be ignored"
+- echo " --target dir : Extract directly to a target directory"
+- echo " directory path can be either absolute or relative"
+- echo " --current : Files will be extracted to the current directory"
+- echo " Both --current and --target imply --notemp"
+- echo " --tar-extra opt : Append more options to the tar command line"
+- echo " --nomd5 : Don't calculate an MD5 for archive"
+- echo " --nocrc : Don't calculate a CRC for archive"
+- echo " --header file : Specify location of the header script"
+- echo " --follow : Follow the symlinks in the archive"
+- echo " --noprogress : Do not show the progress during the decompression"
+- echo " --nox11 : Disable automatic spawn of a xterm"
+- echo " --nowait : Do not wait for user input after executing embedded"
+- echo " program from an xterm"
+- echo " --lsm file : LSM file describing the package"
+- echo " --license file : Append a license file"
++ echo " --version | -v : Print out Makeself version number and exit"
++ echo " --help | -h : Print out this help message"
++ echo " --quiet | -q : Do not print any messages other than errors."
++ echo " --gzip : Compress using gzip (default if detected)"
++ echo " --bzip2 : Compress using bzip2 instead of gzip"
++ echo " --pbzip2 : Compress using pbzip2 instead of gzip"
++ echo " --xz : Compress using xz instead of gzip"
++ echo " --compress : Compress using the UNIX 'compress' command"
++ echo " --complevel lvl : Compression level for gzip xz bzip2 and pbzip2 (default 9)"
++ echo " --base64 : Instead of compressing, encode the data using base64"
++ echo " --nocomp : Do not compress the data"
++ echo " --notemp : The archive will create archive_dir in the"
++ echo " current directory and uncompress in ./archive_dir"
++ echo " --copy : Upon extraction, the archive will first copy itself to"
++ echo " a temporary directory"
++ echo " --append : Append more files to an existing Makeself archive"
++ echo " The label and startup scripts will then be ignored"
++ echo " --target dir : Extract directly to a target directory"
++ echo " directory path can be either absolute or relative"
++ echo " --current : Files will be extracted to the current directory"
++ echo " Both --current and --target imply --notemp"
++ echo " --tar-extra opt : Append more options to the tar command line"
++ echo " --nomd5 : Don't calculate an MD5 for archive"
++ echo " --nocrc : Don't calculate a CRC for archive"
++ echo " --header file : Specify location of the header script"
++ echo " --follow : Follow the symlinks in the archive"
++ echo " --noprogress : Do not show the progress during the decompression"
++ echo " --nox11 : Disable automatic spawn of a xterm"
++ echo " --nowait : Do not wait for user input after executing embedded"
++ echo " program from an xterm"
++ echo " --lsm file : LSM file describing the package"
++ echo " --license file : Append a license file"
++ echo " --help-header file : Add a header to the archive's --help output"
+ echo
+ echo "Do not forget to give a fully qualified startup script name"
+ echo "(i.e. with a ./ prefix if inside the archive)."
+@@ -254,6 +255,12 @@ do
+ LSM_CMD="cat \"$2\" >> \"\$archname\""
+ if ! shift 2; then MS_Help; exit 1; fi
+ ;;
++ --help-header)
++ HELPHEADER=`sed -e "s/'/'\\\\\''/g" $2`
++ if ! shift 2; then MS_Help; exit 1; fi
++ [ -n "$HELPHEADER" ] && HELPHEADER="$HELPHEADER
++"
++ ;;
+ -q | --quiet)
+ QUIET=y
+ shift
+--
+1.8.5.5
+
diff --git a/app-arch/makeself/files/makeself-unpack b/app-arch/makeself/files/makeself-unpack
index fc72fe67cf93..d8f5e17d194c 100755
--- a/app-arch/makeself/files/makeself-unpack
+++ b/app-arch/makeself/files/makeself-unpack
@@ -5,9 +5,15 @@ source /etc/init.d/functions.sh
find_unpackable_file() { echo "$@"; }
debug-print() { :; }
emktemp() { mktemp "$@"; }
-alias assert='_pipestatus="${PIPESTATUS[*]}"; [[ "${_pipestatus// /}" -eq 0 ]] || die'
+die() { eerror "$*"; exit 1; }
+assert() { _pipestatus="${PIPESTATUS[*]}"; [[ "${_pipestatus// /}" -eq 0 ]] || die; }
+
+# Straight copied from unpacker.eclass ... should be kept in sync
+
+unpack_banner() {
+ echo ">>> Unpacking ${1##*/} to ${PWD}"
+}
-# Straight copied from eutils.eclass ... should be kept in sync
unpack_makeself() {
local src_input=${1:-${A}}
local src=$(find_unpackable_file "${src_input}")
@@ -16,14 +22,14 @@ unpack_makeself() {
[[ -z ${src} ]] && die "Could not locate source for '${src_input}'"
- local shrtsrc=$(basename "${src}")
- echo ">>> Unpacking ${shrtsrc} to ${PWD}"
+ unpack_banner "${src}"
+
if [[ -z ${skip} ]] ; then
- local ver=$(grep -a '#.*Makeself' "${src}" | awk '{print $NF}')
+ local ver=$(grep -m1 -a '#.*Makeself' "${src}" | awk '{print $NF}')
local skip=0
exe=tail
case ${ver} in
- 1.5.*|1.6.0-nv) # tested 1.5.{3,4,5} ... guessing 1.5.x series is same
+ 1.5.*|1.6.0-nv*) # tested 1.5.{3,4,5} ... guessing 1.5.x series is same
skip=$(grep -a ^skip= "${src}" | cut -d= -f2)
;;
2.0|2.0.1)
@@ -31,17 +37,17 @@ unpack_makeself() {
;;
2.1.1)
skip=$(grep -a ^offset= "${src}" | awk '{print $2}' | cut -b2-)
- let skip="skip + 1"
+ (( skip++ ))
;;
2.1.2)
skip=$(grep -a ^offset= "${src}" | awk '{print $3}' | head -n 1)
- let skip="skip + 1"
+ (( skip++ ))
;;
2.1.3)
skip=`grep -a ^offset= "${src}" | awk '{print $3}'`
- let skip="skip + 1"
+ (( skip++ ))
;;
- 2.1.4|2.1.5)
+ 2.1.4|2.1.5|2.1.6|2.2.0)
skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1)
skip=$(head -n ${skip} "${src}" | wc -c)
exe="dd"
@@ -49,7 +55,7 @@ unpack_makeself() {
*)
eerror "I'm sorry, but I was unable to support the Makeself file."
eerror "The version I detected was '${ver}'."
- eerror "Please file a bug about the file ${shrtsrc} at"
+ eerror "Please file a bug about the file ${src##*/} at"
eerror "http://bugs.gentoo.org/ so that support can be added."
die "makeself version '${ver}' not supported"
;;
@@ -58,14 +64,14 @@ unpack_makeself() {
fi
case ${exe} in
tail) exe="tail -n +${skip} '${src}'";;
- dd) exe="dd ibs=${skip} skip=1 obs=1024 conv=sync if='${src}'";;
+ dd) exe="dd ibs=${skip} skip=1 if='${src}'";;
*) die "makeself cant handle exe '${exe}'"
esac
# lets grab the first few bytes of the file to figure out what kind of archive it is
- local tmpfile=$(emktemp)
+ local filetype tmpfile=$(emktemp)
eval ${exe} 2>/dev/null | head -c 512 > "${tmpfile}"
- local filetype=$(file -b "${tmpfile}")
+ filetype=$(file -b "${tmpfile}") || die
case ${filetype} in
*tar\ archive*)
eval ${exe} | tar --no-same-owner -xf -
@@ -79,12 +85,16 @@ unpack_makeself() {
compress*)
eval ${exe} | gunzip | tar --no-same-owner -xf -
;;
+ XZ*)
+ eval ${exe} | unxz | tar --no-same-owner -xf -
+ ;;
*)
eerror "Unknown filetype \"${filetype}\" ?"
false
;;
esac
- assert "failure unpacking (${filetype}) makeself ${shrtsrc} ('${ver}' +${skip})"
+ assert "failure unpacking (${filetype}) makeself ${src##*/} ('${ver}' +${skip})"
+ rm "${tmpfile}"
}
for x; do unpack_makeself "$x" ; done
diff --git a/app-arch/makeself/makeself-2.2.0.ebuild b/app-arch/makeself/makeself-2.2.0.ebuild
new file mode 100644
index 000000000000..5a486145b708
--- /dev/null
+++ b/app-arch/makeself/makeself-2.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/makeself/makeself-2.2.0.ebuild,v 1.1 2014/02/18 06:18:50 vapier Exp $
+
+EAPI="4"
+
+inherit unpacker eutils
+
+DESCRIPTION="shell script that generates a self-extractible tar.gz"
+HOMEPAGE="http://www.megastep.org/makeself/"
+SRC_URI="https://github.com/megastep/makeself/archive/release-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-help-header.patch
+}
+
+src_install() {
+ dobin makeself-header.sh makeself.sh "${FILESDIR}"/makeself-unpack
+ dosym makeself.sh /usr/bin/makeself
+ doman makeself.1
+ dodoc README.md makeself.lsm
+}