blob: f214ade0e1cac17ae1b99bdd985146a476ea9a91 (
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-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/eject-2.0.2.ebuild,v 1.2 2001/04/06 23:15:32 drobbins Exp $
#P=
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION=""
SRC_URI="http://www.ibiblio.org/pub/Linux/utils/disk-management/${A}"
HOMEPAGE="http://www.pobox.com/~tranter/eject.html"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/${P}-gentoo.diff
}
src_compile() {
try make OPT=\""${CFLAGS}"\"
}
src_install () {
dodir /usr/bin /usr/share/man/man1
try make DESTDIR=${D} install
}
|