NetBSD pkgsrc (package source) is a package management system for
Unix-like operating systems
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).
# $NetBSD: Makefile,v 1.12 2008/03/02 03:48:36 jlam Exp $
DISTNAME= makeself-2.1.4
CATEGORIES= archivers
MASTER_SITES= http://www.megastep.org/makeself/
EXTRACT_SUFX= .run
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.megastep.org/makeself/
COMMENT= Neat script to make self-extracting archives
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
INSTALLATION_DIRS= bin
# The DISPLAY thing is to prevent the script from trying to launch a xterm
# just to extract the source.
pre-patch:
cd ${WRKDIR} && ${SETENV} DISPLAY="" ${SH} ${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh \
${DESTDIR}${PREFIX}/bin/makeself
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/18 15:20:38 cjep Exp $
bin/makeself
$NetBSD: distinfo,v 1.3 2006/04/23 10:04:41 rillig Exp $
SHA1 (makeself-2.1.4.run) = dbdd0b879c28ffba2dd5fb0ca20d3998edd3c8ea
RMD160 (makeself-2.1.4.run) = ae8557d939de63b6767c4890d5761a62e4013a2a
Size (makeself-2.1.4.run) = 36600 bytes