diff options
author | Ladislav Hagara | 2011-01-03 13:44:03 +0100 |
---|---|---|
committer | Ladislav Hagara | 2011-01-03 13:44:03 +0100 |
commit | 42d8f0294184d2820dc6274255aa92dc7bc4cb67 (patch) | |
tree | 7b1674519ed9e8604733f16985e7de3f39303148 | |
parent | 581db748dd1027db5245f45313756f2fd6332ee0 (diff) |
archive/makeself: new spell, make self-extractable archives
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | archive/makeself/BUILD | 0 | ||||
-rwxr-xr-x | archive/makeself/DETAILS | 31 | ||||
-rw-r--r-- | archive/makeself/HISTORY | 4 | ||||
-rwxr-xr-x | archive/makeself/INSTALL | 6 | ||||
-rwxr-xr-x | archive/makeself/PRE_BUILD | 5 |
6 files changed, 49 insertions, 0 deletions
@@ -1,3 +1,6 @@ +2011-01-03 Ladislav Hagara <hgr@vabo.cz> + * archive/makeself: new spell, make self-extractable archives + 2011-01-03 Vlad Glagolev <stealth@sourcemage.org> * x11/gtk-theme-switch: moved from gnome1-libs section diff --git a/archive/makeself/BUILD b/archive/makeself/BUILD new file mode 100755 index 0000000000..e69de29bb2 --- /dev/null +++ b/archive/makeself/BUILD diff --git a/archive/makeself/DETAILS b/archive/makeself/DETAILS new file mode 100755 index 0000000000..e8631d2ab6 --- /dev/null +++ b/archive/makeself/DETAILS @@ -0,0 +1,31 @@ + SPELL=makeself + VERSION=2.1.5 + SOURCE=$SPELL-$VERSION.run +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION + SOURCE_URL[0]=http://megastep.org/makeself/$SOURCE + SOURCE_HASH=sha512:c556770deea504573c50bc7c15340ed91c65d372e93c47dfc10fd6e8265b2462842da12b36898d4291cbac9e954ec12f2f6972bcf40e97ed82dbd22af21d3a91 + WEB_SITE=http://megastep.org/makeself/ + ENTERED=20110103 + LICENSE[0]=GPL + SHORT="make self-extractable archives on Unix" +cat << EOF +makeself.sh is a small shell script that generates a self-extractable tar.gz +archive from a directory. The resulting file appears as a shell script (many of +those have a .run suffix), and can be launched as is. The archive will then +uncompress itself to a temporary directory and an optional arbitrary command +will be executed (for example an installation script). This is pretty similar to +archives generated with WinZip Self-Extractor in the Windows world. Makeself +archives also include checksums for integrity self-validation (CRC and/or MD5 +checksums). + +The makeself.sh script itself is used only to create the archives from a +directory of files. The resultant archive is actually a compressed (using gzip, +bzip2, or compress) TAR archive, with a small shell script stub at the +beginning. This small stub performs all the steps of extracting the files, +running the embedded command, and removing the temporary files when it's all +over. All what the user has to do to install the software contained in such an +archive is to "run" the archive, i.e sh nice-software.run. I recommend using the +"run" (which was introduced by some Makeself archives released by Loki Software) +or "sh" suffix for such archives not to confuse the users, since they know it's +actually shell scripts (with quite a lot of binary data attached to it though!). +EOF diff --git a/archive/makeself/HISTORY b/archive/makeself/HISTORY new file mode 100644 index 0000000000..8b7a8c3ce2 --- /dev/null +++ b/archive/makeself/HISTORY @@ -0,0 +1,4 @@ +2011-01-03 Ladislav Hagara <hgr@vabo.cz> + * DETAILS, PRE_BUILD, BUILD, INSTALL: spell created, version 2.1.5 + + diff --git a/archive/makeself/INSTALL b/archive/makeself/INSTALL new file mode 100755 index 0000000000..27c7b94ef6 --- /dev/null +++ b/archive/makeself/INSTALL @@ -0,0 +1,6 @@ +cd $SPELL-$VERSION && + +install -v -m 755 makeself.sh $INSTALL_ROOT/usr/bin/makeself && +install -v -d -m 755 $INSTALL_ROOT/usr/share/makeself && +install -v -m 755 makeself-header.sh $INSTALL_ROOT/usr/share/makeself/makeself-header && +install -v -m 644 makeself.1 $INSTALL_ROOT/usr/share/man/man1 diff --git a/archive/makeself/PRE_BUILD b/archive/makeself/PRE_BUILD new file mode 100755 index 0000000000..e74ab6d82f --- /dev/null +++ b/archive/makeself/PRE_BUILD @@ -0,0 +1,5 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +cp $SOURCE_CACHE/$SOURCE . && +/bin/bash $SOURCE && +sed -i "s:^HEADER=.*:HEADER=$INSTALL_ROOT/usr/share/makeself/makeself-header:" $SPELL-$VERSION/makeself.sh |