diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-06-09 02:10:54 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-06-09 02:10:54 +0000 |
commit | 3b85f6dfe5c5a53951d993f35d74fe88597ee623 (patch) | |
tree | b0ddc2a1d67e12d8db8eeca758d016248d77d1a8 /sys-apps/eject | |
parent | Some cleanup (diff) | |
download | gentoo-2-3b85f6dfe5c5a53951d993f35d74fe88597ee623.tar.gz gentoo-2-3b85f6dfe5c5a53951d993f35d74fe88597ee623.tar.bz2 gentoo-2-3b85f6dfe5c5a53951d993f35d74fe88597ee623.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/eject')
-rw-r--r-- | sys-apps/eject/eject-2.0.2.ebuild | 28 | ||||
-rw-r--r-- | sys-apps/eject/eject-2.0.4.ebuild | 23 | ||||
-rw-r--r-- | sys-apps/eject/files/digest-eject-2.0.2 | 1 | ||||
-rw-r--r-- | sys-apps/eject/files/digest-eject-2.0.4 | 1 | ||||
-rw-r--r-- | sys-apps/eject/files/eject-2.0.2-gentoo.diff | 66 |
5 files changed, 0 insertions, 119 deletions
diff --git a/sys-apps/eject/eject-2.0.2.ebuild b/sys-apps/eject/eject-2.0.2.ebuild deleted file mode 100644 index f214ade0e1ca..000000000000 --- a/sys-apps/eject/eject-2.0.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# 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 -} diff --git a/sys-apps/eject/eject-2.0.4.ebuild b/sys-apps/eject/eject-2.0.4.ebuild deleted file mode 100644 index 694b6dc9ab20..000000000000 --- a/sys-apps/eject/eject-2.0.4.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# 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.4.ebuild,v 1.1 2001/05/06 16:20:03 achim 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_compile() { - try make CFLAGS=\""${CFLAGS}"\" -} - -src_install () { - dodir /usr/bin /usr/share/man/man1 - try make DESTDIR=${D} BINDIR=/usr/bin MANDIR=/usr/share/man install - dodoc ChangeLog COPYING README PORTING TODO -} diff --git a/sys-apps/eject/files/digest-eject-2.0.2 b/sys-apps/eject/files/digest-eject-2.0.2 deleted file mode 100644 index d017f831fa2d..000000000000 --- a/sys-apps/eject/files/digest-eject-2.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 70a6644dd85623cda100f552a1fe0480 eject-2.0.2.tar.gz diff --git a/sys-apps/eject/files/digest-eject-2.0.4 b/sys-apps/eject/files/digest-eject-2.0.4 deleted file mode 100644 index d020273c96ae..000000000000 --- a/sys-apps/eject/files/digest-eject-2.0.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 700e31aee4ea238fdfb011a6d571da5f eject-2.0.4.tar.gz diff --git a/sys-apps/eject/files/eject-2.0.2-gentoo.diff b/sys-apps/eject/files/eject-2.0.2-gentoo.diff deleted file mode 100644 index 9949d73a4220..000000000000 --- a/sys-apps/eject/files/eject-2.0.2-gentoo.diff +++ /dev/null @@ -1,66 +0,0 @@ -diff -ur eject-2.0.2.orig/Makefile eject-2.0.2/Makefile ---- eject-2.0.2.orig/Makefile Sun Feb 14 15:49:02 1999 -+++ eject-2.0.2/Makefile Thu Mar 1 21:52:09 2001 -@@ -1,24 +1,28 @@ - # Make file for eject - -+DESTDIR= -+ - # Default device to eject. Can be a partial name such as "cdrom" or - # a full device name such as "/dev/sda4". - DEFAULTDEVICE = \"cdrom\" - - # Location to install binary. Default is /usr/local/bin. You may - # prefer to install it in /usr/bin or /sbin --BINDIR = /usr/local/bin --#BINDIR=/usr/bin -+#BINDIR = /usr/local/bin -+BINDIR=/usr/bin - #BINDIR=/usr/sbin - - # Location to install man page. Default is /usr/local/man. You may - # prefer to install it in /usr/man --MANDIR = /usr/local/man -+#MANDIR = /usr/local/man - #MANDIR = /usr/man -+MANDIR = /usr/share/man - - # File permissions for binary. Use MODE=4555 if you want to install it - # setuid root (see man page). --MODE = 555 -+#MODE = 555 - #MODE = 4555 -+MODE = 755 - - # Compiler to use - CC = gcc -@@ -29,14 +33,15 @@ - # Preprocessor options - # Define -DGETOPTLONG if you have GNU getopt_long() - # -I options are needed for some systems that do not have /usr/include/scsi --CPPFLAGS = -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=$(DEFAULTDEVICE) -DGETOPTLONG -+CPPFLAGS = -DDEFAULTDEVICE=$(DEFAULTDEVICE) -DGETOPTLONG - - # Compile and link options - # On a.out systems you might want to add -N when linking - # RPM_OPT_FLAGS can be set by rpm tool - # ...For production code --CFLAGS = -Wall -O3 $(RPM_OPT_FLAGS) --LDFLAGS = -s -+OPT=-O2 -+CFLAGS = -Wall $(OPT) -+LDFLAGS = - # ...For debug - #CFLAGS = -Wall -g - #LDFLAGS = -g -@@ -48,8 +53,8 @@ - $(CC) $(CPPFLAGS) $(CFLAGS) -c eject.c - - install: eject -- install -m $(MODE) eject $(BINDIR)/eject -- install -m 444 eject.1 $(MANDIR)/man1/eject.1 -+ install -m $(MODE) eject $(DESTDIR)/$(BINDIR)/eject -+ install -m 644 eject.1 $(DESTDIR)/$(MANDIR)/man1/eject.1 - @for dir in /bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin ; do \ - test $(BINDIR) = $$dir && continue ; \ - if [ -x $$dir/eject ] ; then \ |