diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-02-24 10:25:04 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-02-24 10:25:04 +0000 |
commit | e7b81a9340b1e5fee6f53ab437e9206ded884078 (patch) | |
tree | d406c7fed7c8d1dc2f11402c02f0215e069cb38a /sys-process | |
parent | sys-process/incron: updated ebuild for bug #162346 (diff) | |
download | sunrise-reviewed-e7b81a9340b1e5fee6f53ab437e9206ded884078.tar.gz sunrise-reviewed-e7b81a9340b1e5fee6f53ab437e9206ded884078.tar.bz2 sunrise-reviewed-e7b81a9340b1e5fee6f53ab437e9206ded884078.zip |
sys-process/incron: Fix crosscompile, honor CXXFLAGS, fix quoting, use linux-info eclass properly
svn path=/sunrise/; revision=3076
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/incron/ChangeLog | 4 | ||||
-rw-r--r-- | sys-process/incron/Manifest | 24 | ||||
-rw-r--r-- | sys-process/incron/files/incron-0.5.5-gentoo.patch | 16 | ||||
-rw-r--r-- | sys-process/incron/incron-0.5.5.ebuild | 25 |
4 files changed, 41 insertions, 28 deletions
diff --git a/sys-process/incron/ChangeLog b/sys-process/incron/ChangeLog index 32cbf569c..efebd6dab 100644 --- a/sys-process/incron/ChangeLog +++ b/sys-process/incron/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 24 Feb 2007; Jakub Moc <jakub@gentoo.org> incron-0.5.5.ebuild, + files/incron-0.5.5-gentoo.patch: + Fix crosscompile, honor CXXFLAGS, fix quoting, use linux-info eclass properly + 23 Feb 2007; Christian Berendt (lhunephel) <christian@suppentopf.net> +incron-0.5.5.ebuild, +files/incron-0.5.5-gentoo.patch, +metadata.xml: updated ebuild for bug #162346 diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest index 9a78a800b..9f5e1513a 100644 --- a/sys-process/incron/Manifest +++ b/sys-process/incron/Manifest @@ -1,16 +1,16 @@ -AUX incron-0.5.5-gentoo.patch 1932 RMD160 ac34ef28c11392b6e7edf357db331a6a59a66e27 SHA1 159f19ffa8d526f48af7886986160b35527214e9 SHA256 b32b389fc25959eda56c61cc72c5f35b65ad2adffc237cbe6f6e80f7cbd2d716 -MD5 8c2fd9548dfb82838481a9f19115d37e files/incron-0.5.5-gentoo.patch 1932 -RMD160 ac34ef28c11392b6e7edf357db331a6a59a66e27 files/incron-0.5.5-gentoo.patch 1932 -SHA256 b32b389fc25959eda56c61cc72c5f35b65ad2adffc237cbe6f6e80f7cbd2d716 files/incron-0.5.5-gentoo.patch 1932 +AUX incron-0.5.5-gentoo.patch 2083 RMD160 d701eacc4fadbd77ff6c3bf0140b0cc3853dbd38 SHA1 bb8865b81d067ef064303a2396f1a14400a97308 SHA256 1efa1a88e77fee5fea435510dee894dd17f062b464c5773151d671a19f49142a +MD5 e978de1ef488ccc684e3a934bd741b71 files/incron-0.5.5-gentoo.patch 2083 +RMD160 d701eacc4fadbd77ff6c3bf0140b0cc3853dbd38 files/incron-0.5.5-gentoo.patch 2083 +SHA256 1efa1a88e77fee5fea435510dee894dd17f062b464c5773151d671a19f49142a files/incron-0.5.5-gentoo.patch 2083 DIST incron-0.5.5.tar.gz 176622 RMD160 d63b4fd65559115e1a9d46a6cefe4228c35bd2e0 SHA1 7e2dcbe86c08922ae29cddb3c614d94e44a3cbb6 SHA256 4b51f9f8b8cb019b3061817a8629eadf4d8a78085134fa9cc3b8fc04a464ea3a -EBUILD incron-0.5.5.ebuild 725 RMD160 05f37c29868201883a3af7965f28ffa3c2024054 SHA1 61090e54733e6d993c9efa82388ee17816044979 SHA256 3195b6317780a59496d8e2ce3c4d5cbcd0cb652d37010e4a486930ee09c9c42a -MD5 8390bbb57d3cb267a33452b9c9069a12 incron-0.5.5.ebuild 725 -RMD160 05f37c29868201883a3af7965f28ffa3c2024054 incron-0.5.5.ebuild 725 -SHA256 3195b6317780a59496d8e2ce3c4d5cbcd0cb652d37010e4a486930ee09c9c42a incron-0.5.5.ebuild 725 -MISC ChangeLog 298 RMD160 d2c6c1e2d42c3a04fa90db305329d28befbf0343 SHA1 29c80b9bf4c367cf3bf82522a7e3108e11f1c9fd SHA256 b9481d6ff345a317dd3d93802246a6aa0e5b64abafb843c882bb3f12fa05bde8 -MD5 51173da22ddb55adc134c79f2f29a808 ChangeLog 298 -RMD160 d2c6c1e2d42c3a04fa90db305329d28befbf0343 ChangeLog 298 -SHA256 b9481d6ff345a317dd3d93802246a6aa0e5b64abafb843c882bb3f12fa05bde8 ChangeLog 298 +EBUILD incron-0.5.5.ebuild 764 RMD160 325e6174bf703b89186c7a725a77563fd9aabbf9 SHA1 bba1a708ab6254b372e96392604af95d1ae3f620 SHA256 b22323533ec7aa0accbf3664207f39308da125ca2bad42cf6aebc095069d42df +MD5 c75b2ef07d80f667d877b98e2a7498a4 incron-0.5.5.ebuild 764 +RMD160 325e6174bf703b89186c7a725a77563fd9aabbf9 incron-0.5.5.ebuild 764 +SHA256 b22323533ec7aa0accbf3664207f39308da125ca2bad42cf6aebc095069d42df incron-0.5.5.ebuild 764 +MISC ChangeLog 479 RMD160 36b5a8f3996e6e56fce30e0089ed2cf56de4e2dc SHA1 fd045fc2fcb36641050243e6140db236480b6776 SHA256 c808d29d866adc4746095ab796145f44537bf2edb8f66a15d593d761aec41136 +MD5 1851492d8a04f22d8ceb2f934caa9a3f ChangeLog 479 +RMD160 36b5a8f3996e6e56fce30e0089ed2cf56de4e2dc ChangeLog 479 +SHA256 c808d29d866adc4746095ab796145f44537bf2edb8f66a15d593d761aec41136 ChangeLog 479 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 diff --git a/sys-process/incron/files/incron-0.5.5-gentoo.patch b/sys-process/incron/files/incron-0.5.5-gentoo.patch index ca05cad28..c16f6082c 100644 --- a/sys-process/incron/files/incron-0.5.5-gentoo.patch +++ b/sys-process/incron/files/incron-0.5.5-gentoo.patch @@ -1,7 +1,7 @@ diff -Nur incron-0.5.5/Makefile incron-0.5.5-r1/Makefile --- incron-0.5.5/Makefile 2007-02-14 15:54:33.000000000 +0100 +++ incron-0.5.5-r1/Makefile 2007-02-23 09:57:16.000000000 +0100 -@@ -1,9 +1,10 @@ +@@ -1,15 +1,16 @@ -PREFIX = /usr/local -USERDATADIR = /var/spool/incron @@ -17,11 +17,20 @@ diff -Nur incron-0.5.5/Makefile incron-0.5.5-r1/Makefile RELEASE = incron-`cat VERSION` RELEASEDIR = /tmp/$(RELEASE) -@@ -18,7 +19,7 @@ + USER = root + +-CXX = g++ ++CXX := g++ + INSTALL = install + + OPTIMIZE = -O2 +@@ -17,8 +18,8 @@ + WARNINGS = -Wall CXXAUX = -pipe - CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX) +-CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX) -LDFLAGS = $(WARNINGS) ++CXXFLAGS := $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX) +LDFLAGS += $(WARNINGS) PROGRAMS = incrond incrontab @@ -42,6 +51,7 @@ diff -Nur incron-0.5.5/Makefile incron-0.5.5-r1/Makefile install-man: incrontab.1 incrontab.5 incrond.8 incron.conf.5 $(INSTALL) -m 0755 -d $(MANPATH)/man1 + diff -Nur incron-0.5.5/incrond-init.d incron-0.5.5-r1/incrond-init.d --- incron-0.5.5/incrond-init.d 1970-01-01 01:00:00.000000000 +0100 +++ incron-0.5.5-r1/incrond-init.d 2007-02-23 09:53:59.000000000 +0100 diff --git a/sys-process/incron/incron-0.5.5.ebuild b/sys-process/incron/incron-0.5.5.ebuild index 0fb72e5bf..1a000bd09 100644 --- a/sys-process/incron/incron-0.5.5.ebuild +++ b/sys-process/incron/incron-0.5.5.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils linux-mod +inherit eutils linux-info toolchain-funcs DESCRIPTION="INotify based cron daemon" HOMEPAGE="http://incron.aiken.cz/" @@ -15,24 +15,23 @@ KEYWORDS="~amd64" IUSE="" DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" + +CONFIG_CHECK="INOTIFY" +ERROR_INOTIFY="Recompile your kernel with inotify support - CONFIG_INOTIFY" + +pkg_setup() { + linux-info_pkg_setup +} src_unpack() { - unpack "${A}" + unpack ${A} cd "${S}" - epatch ${FILESDIR}/${P}-gentoo.patch + epatch "${FILESDIR}/${P}"-gentoo.patch } src_compile() { - ebegin "Checking for INOTIFY support" - linux_chkconfig_present INOTIFY - eend $? - - if [[ $? -ne 0 ]]; then - die "INOTIFY support not enabled" - fi - - emake || die "emake failed" + emake CXX=$(tc-getCXX) CXXFLAGS="${CXXFLAGS}" || die "emake failed" } src_install() { |