New ebuild for bug #151143
authorCédric Krier <cedk@gentoo.org>
Sat, 13 Jan 2007 15:17:08 +0000 (15:17 +0000)
committerCédric Krier <cedk@gentoo.org>
Sat, 13 Jan 2007 15:17:08 +0000 (15:17 +0000)
Package-Manager: portage-2.1.1-r2

app-misc/lsx/ChangeLog [new file with mode: 0644]
app-misc/lsx/Manifest [new file with mode: 0644]
app-misc/lsx/files/digest-lsx-0.1 [new file with mode: 0644]
app-misc/lsx/lsx-0.1.ebuild [new file with mode: 0644]
app-misc/lsx/metadata.xml [new file with mode: 0644]

diff --git a/app-misc/lsx/ChangeLog b/app-misc/lsx/ChangeLog
new file mode 100644 (file)
index 0000000..7583e5c
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/lsx
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lsx/ChangeLog,v 1.1 2007/01/13 15:17:08 cedk Exp $
+
+*lsx-0.1 (13 Jan 2007)
+
+  13 Jan 2007; Cedric Krier <cedk@gentoo.org> +metadata.xml,
+  +lsx-0.1.ebuild:
+  New ebuild for bug #151143
+
diff --git a/app-misc/lsx/Manifest b/app-misc/lsx/Manifest
new file mode 100644 (file)
index 0000000..19368c2
--- /dev/null
@@ -0,0 +1,16 @@
+DIST lsx-0.1.tar.gz 2130 RMD160 bafd66993a7f776a8635cead98b274a5b6232f65 SHA1 7a9f311873b0b1bd9d5f2b0772f64a2f15c68a9a SHA256 b30f8282f2de25bd59edb2dfdc033320539adf56199351a6b5d80e05965add94
+EBUILD lsx-0.1.ebuild 978 RMD160 5958d2e3296fd9532b25a16aa22d374e08c99abe SHA1 3262c477991622b4a6fd8e69a5a5e45a150bf6d7 SHA256 467cf91d6b4d19eb29552f3a5f692cd297ca4428ed0f65eafac2a8115f9c590c
+MD5 b641b506e93c734e2dbed5dabf2c5eb1 lsx-0.1.ebuild 978
+RMD160 5958d2e3296fd9532b25a16aa22d374e08c99abe lsx-0.1.ebuild 978
+SHA256 467cf91d6b4d19eb29552f3a5f692cd297ca4428ed0f65eafac2a8115f9c590c lsx-0.1.ebuild 978
+MISC ChangeLog 329 RMD160 d0f5265864f5b815464c9d741f45b7c422bf2be0 SHA1 cddc512894dea544464ce29fc8ec90c35e13a7fd SHA256 6ffd2536c535a50c6a6610a5c501be604c052c2d98cace2ecee5f7f77adb6bee
+MD5 2ea94be83909ee15c9da39bdb17d668e ChangeLog 329
+RMD160 d0f5265864f5b815464c9d741f45b7c422bf2be0 ChangeLog 329
+SHA256 6ffd2536c535a50c6a6610a5c501be604c052c2d98cace2ecee5f7f77adb6bee ChangeLog 329
+MISC metadata.xml 331 RMD160 a50cbb39e72116aa8bc97928ea2d1d223a4b80e4 SHA1 51a4c23c0692e1a6e4f9a7617032a467ed3d3c9f SHA256 0364024c4ecb5dea62b9ad7f2a4df46fe389b5f4fe92cbe4edcd840f8e3b7e37
+MD5 a356e7601807496ddc60c5b3dee1bcc2 metadata.xml 331
+RMD160 a50cbb39e72116aa8bc97928ea2d1d223a4b80e4 metadata.xml 331
+SHA256 0364024c4ecb5dea62b9ad7f2a4df46fe389b5f4fe92cbe4edcd840f8e3b7e37 metadata.xml 331
+MD5 1faf615739745381c15843c27d320d8e files/digest-lsx-0.1 217
+RMD160 fcaf9941357111dbf83f0e83f39419e19e1e1356 files/digest-lsx-0.1 217
+SHA256 dcf7fad8f5e42532930a1eb541c2676a6673308e4648543da61f4e211aa75f7a files/digest-lsx-0.1 217
diff --git a/app-misc/lsx/files/digest-lsx-0.1 b/app-misc/lsx/files/digest-lsx-0.1
new file mode 100644 (file)
index 0000000..7b28a13
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d48fdce9868b13bf5ef3e7834768f89f lsx-0.1.tar.gz 2130
+RMD160 bafd66993a7f776a8635cead98b274a5b6232f65 lsx-0.1.tar.gz 2130
+SHA256 b30f8282f2de25bd59edb2dfdc033320539adf56199351a6b5d80e05965add94 lsx-0.1.tar.gz 2130
diff --git a/app-misc/lsx/lsx-0.1.ebuild b/app-misc/lsx/lsx-0.1.ebuild
new file mode 100644 (file)
index 0000000..ecdb9ba
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lsx/lsx-0.1.ebuild,v 1.1 2007/01/13 15:17:08 cedk Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="list executables"
+HOMEPAGE="http://tools.suckless.org/view/other+tools"
+SRC_URI="http://suckless.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       sed -i \
+               -e "s/.*strip.*//" \
+               Makefile || die "sed failed"
+
+       sed -i \
+               -e "s/CFLAGS = -Os/CFLAGS +=/" \
+               -e "s/LDFLAGS =/LDFLAGS +=/" \
+               config.mk || die "sed failed"
+}
+
+src_compile() {
+       emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+       # collision with net-dialup/lrzsz
+       mv "${D}/usr/bin/${PN}" "${D}/usr/bin/${PN}-suckless"
+
+       dodoc README
+}
+
+pkg_postinst() {
+       einfo "Run ${PN} with ${PN}-suckless"
+}
diff --git a/app-misc/lsx/metadata.xml b/app-misc/lsx/metadata.xml
new file mode 100644 (file)
index 0000000..f6e47ef
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+  <email>cedk@gentoo.org</email>
+</maintainer>
+<longdescription>Prints all executable file names of given absolute paths to standard output</longdescription>
+</pkgmetadata>