summaryrefslogtreecommitdiff
blob: cb7906b574400617d003b3db6d0bb96b3f766836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

inherit toolchain-funcs

DESCRIPTION="extracting Makeself archives without having to run the self-extracting shell script"
HOMEPAGE="http://www.freshports.org/archivers/unmakeself"
SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
#http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/~checkout~/root/ports/ports/archivers/unmakeself/files/unmakeself.c

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="app-arch/bzip2
	sys-libs/zlib
	app-arch/libarchive"
RDEPEND="${DEPEND}"

src_compile() {
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} unmakeself.c -larchive -lbz2 -lz  -o unmakeself
}

src_install() {
	dobin unmakeself
}