app-misc/pipeworks: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2022-07-31 22:03:31 +02:00
parent a040ce157b
commit e4afda5e04
2 changed files with 31 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
--- a/Makefile
+++ b/Makefile
@@ -18,21 +18,11 @@
# along with pipeworks; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-CC= gcc -Wall
+CFLAGS += -Wall
all: pipeworks
-filesize.o: Makefile filesize.h filesize.c
- $(CC) -c -o filesize.o filesize.c
-
-timemanip.o: Makefile timemanip.h timemanip.c
- $(CC) -c -o timemanip.o timemanip.c
-
-pipeworks.o: Makefile pipeworks.c filesize.h
- $(CC) -c -o pipeworks.o pipeworks.c
-
-pipeworks: pipeworks.o filesize.o timemanip.o
- $(CC) -o pipeworks pipeworks.o filesize.o timemanip.o
+pipeworks: filesize.o timemanip.o
clean:
rm -f *.o *~ pipeworks

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
@@ -12,13 +12,11 @@ SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_compile() {
emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
src_configure() {
tc-export CC
}
src_install() {