diff options
Diffstat (limited to 'app-misc/lsx')
-rw-r--r-- | app-misc/lsx/Manifest | 2 | ||||
-rw-r--r-- | app-misc/lsx/lsx-0.1-r1.ebuild | 27 |
2 files changed, 12 insertions, 17 deletions
diff --git a/app-misc/lsx/Manifest b/app-misc/lsx/Manifest index e71e3d9583cc..4025bd1be3b0 100644 --- a/app-misc/lsx/Manifest +++ b/app-misc/lsx/Manifest @@ -1,3 +1,3 @@ DIST lsx-0.1.tar.gz 2130 BLAKE2B 0293945b76d76d755675d8d57ef7f09b668d0df7997ec0e5df927dfb4dcd6d24217b27e114c498680028c52bb21c8a1106dbde2010c47d77d66acf9589e74a9d SHA512 19f3fa4ecc22817332716d58d287ab7ea4b07bbed1d909b00931b272f1613d8aeb315435495d51a5f918f53e3f0ce68e964813cdbfefce0176924f3c75aa623a -EBUILD lsx-0.1-r1.ebuild 852 BLAKE2B acf329ff72e9e47a73fccd133575858cf36cdac05f6078e6d48b803907405f780fdf15fc98eb6efdf43f37a91977905a52383651e5c7e67013ce03488f8a93dc SHA512 51d0adb918d04d522156ec631560bd2f83afaaed1661401e002f92ab27b4943f87f5ff0465cafbe80e9d7a588b256060770c7aab0b8e7c25a8148ed5c4707b7c +EBUILD lsx-0.1-r1.ebuild 714 BLAKE2B ad30f900830734f5456c22c349962a845dc4e6437f54cdadc6233b5c32b5b3546b74d48ae00080c186fddbf90a9f8f44693cf80ee9dca79f1e116cf82b2d7abd SHA512 d8f99da2eb10aafd864be451677afeab72d42e27bbf4a7f2d6c0c85fd459eaafc1dcbcbb14f0401cc7bb44df3332bac5e9c0a58804cdcf7bebe17232b434d19e MISC metadata.xml 277 BLAKE2B b9389d5db9efc1f16568f1fce62c47e9fd8829608aa3084db3decedefa711e065af20f29b0c5a2d9e93beac60ed0f54d098640e56fb93824dcb0b3d2f75af7bf SHA512 99cfc61af14bb324d776b6865339d8f9626450ba2f837bced0624ed80aad5f177c35c4ac3e3cfe636d175ad1f7eb478cc735dde57a6bb691fd608c57253db1c4 diff --git a/app-misc/lsx/lsx-0.1-r1.ebuild b/app-misc/lsx/lsx-0.1-r1.ebuild index 1cfccc2c3cd2..398cf21908b4 100644 --- a/app-misc/lsx/lsx-0.1-r1.ebuild +++ b/app-misc/lsx/lsx-0.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="list executables" HOMEPAGE="https://web.archive.org/web/20160104002819/http://tools.suckless.org:80/lsx" @@ -13,30 +13,25 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" -DOCS=( README ) - src_prepare() { default - sed -i \ - -e "s/.*strip.*//" \ - Makefile || die "sed failed" + # overengineered build system + rm Makefile config.mk || die +} - sed -i \ - -e "s/CFLAGS = -Os/CFLAGS +=/" \ - -e "s/LDFLAGS =/LDFLAGS +=/" \ - config.mk || die "sed failed" +src_configure() { + tc-export CC + append-cppflags -DVERSION='\"0.1\"' } src_compile() { - emake CC=$(tc-getCC) + emake lsx } src_install() { - emake DESTDIR="${D}" PREFIX="/usr" install - # collision with net-dialup/lrzsz - mv "${D}/usr/bin/${PN}" "${D}/usr/bin/${PN}-suckless" || die + newbin ${PN} ${PN}-suckless einstalldocs } |