diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2013-05-27 22:36:39 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2013-05-27 23:01:30 +0200 |
commit | 871aa3ec8c59a964940af18d3ec462c797482785 (patch) | |
tree | 8492d0e98ede203810dfea6bcfe0ceecedd13bcf /flx/wdd | |
parent | add ebuild for a clam client to server support (diff) | |
download | portage-871aa3ec8c59a964940af18d3ec462c797482785.tar.xz |
Add formilux tools/init-scripts
Diffstat (limited to 'flx/wdd')
-rw-r--r-- | flx/wdd/Manifest | 12 | ||||
-rw-r--r-- | flx/wdd/files/0.1.31-remove-strip-diet.diff | 50 | ||||
-rw-r--r-- | flx/wdd/files/0.1.31-respect-CFLAGS-LDFLAGS.diff | 15 | ||||
-rw-r--r-- | flx/wdd/files/0.1.31-warning-cast.diff | 30 | ||||
-rw-r--r-- | flx/wdd/files/0.1.31-warning-implicit-declaration.diff | 14 | ||||
-rw-r--r-- | flx/wdd/files/0.1.34-remove-strip-diet.diff | 50 | ||||
-rw-r--r-- | flx/wdd/files/0.1.34-respect-CFLAGS-LDFLAGS.diff | 15 | ||||
-rw-r--r-- | flx/wdd/files/0.1.34-warning-cast.diff | 30 | ||||
-rw-r--r-- | flx/wdd/files/0.1.34-warning-implicit-declaration.diff | 14 | ||||
-rw-r--r-- | flx/wdd/files/wdd.confd | 2 | ||||
-rwxr-xr-x | flx/wdd/files/wdd.initd | 21 | ||||
-rw-r--r-- | flx/wdd/wdd-0.1.31.ebuild | 44 | ||||
-rw-r--r-- | flx/wdd/wdd-0.1.34.ebuild | 44 |
13 files changed, 341 insertions, 0 deletions
diff --git a/flx/wdd/Manifest b/flx/wdd/Manifest new file mode 100644 index 00000000..be3a3456 --- /dev/null +++ b/flx/wdd/Manifest @@ -0,0 +1,12 @@ +AUX 0.1.31-remove-strip-diet.diff 1553 SHA256 3b5235acff3fe732278548e5bf43098e46c3b96d3d1a5cc243e98b4447296f83 SHA512 01542bada430759c1c59e70b754f046f9c343b799b4639b6b06ea37d3c0dca7161371bfe5f0c851ce24bfa2eff44b0b9b3ce23745216c427cac3e53a89bfd760 WHIRLPOOL 9a92dac9535408916a07c54000a1cd9c50ff1f8b838851532a9b0ba78cf04034e2f59a9ba54bac3b1f7d76b52376be6dd9e06c7631bc05fbe5bda185a782a5b2 +AUX 0.1.31-respect-CFLAGS-LDFLAGS.diff 475 SHA256 920e0fc923f915a3bb0a59ae401cd4f6f4c7b2aca57786c821e61cec4248873e SHA512 6b41a77f31c9805ff96e2b93b0e51af868dc7dfc227a305329ccf82d9afe43e21360ea54db630360b4a51264c6e5ddbba4d6a967f56705d0555aeaafb8b1bce0 WHIRLPOOL 90715a0de2e926f729a630178cffcaf1d24f4dd1483d54d8297e14b980203d927a3364f6357048ef8b9b3032af023c219f7371679895c1c218c78b7ead2e88c2 +AUX 0.1.31-warning-cast.diff 812 SHA256 9c3aeafd401d0f2a4143d2b974bec506cb02de4d77d947f4cc0c70571a392926 SHA512 6e21000718aef1300af0160d382298e7164136c92242e1ac0b0b31b5de6ede7d55d98f0b462c42bb8a12a78449459c36ed3320191bae64b9464363f439214de0 WHIRLPOOL fedc910994fed6dec6a13a258540df4755b83b8601287f461db10d81b36c921967f96c72073fba315f95f3cf7c5128632a3cd99f1c94b21314544dec521de09a +AUX 0.1.31-warning-implicit-declaration.diff 378 SHA256 ea8b84942b0608fc29e9f0be3b6f7679c21ad9d56396e80f4ae55c24eef9cc6e SHA512 103119005560846fc7c07c6a78d975f0ab8817d24010307ee935a62e037265d3f5b02c4d6d2fb1382fba7a36d7cfaaa2daf9a750a0509bd37398abcdb30d77c8 WHIRLPOOL ab02aed0bdf75d5743331948a4c23f1b8a078ba89b81ddd2e405b6efced15421ceb8e1fb097810a42122949f637ff9166c4557b639bb530bd3b99a73e3a2c8a9 +AUX 0.1.34-remove-strip-diet.diff 1558 SHA256 16b19327d1c8487f3badefb2c5ad714f020b0fe805aeab2d1e500d61cb2b774b SHA512 b1e3c3a241f4a6544b870ac551d3ea48211ee9f1fde18b021e61176caf6058aed4d9c44712f479b2ae469b09bbf30906738cfb617a3c8a9c087a8657048b19fa WHIRLPOOL 819dac4e550c13ec6c7ba86bdb17d4525237c3fd1dc8275cbfd1c798b95c3f01bada25b66607ce63d94d56accd7b95d476376aa721dcd8a3275991bc989a067b +AUX 0.1.34-respect-CFLAGS-LDFLAGS.diff 475 SHA256 920e0fc923f915a3bb0a59ae401cd4f6f4c7b2aca57786c821e61cec4248873e SHA512 6b41a77f31c9805ff96e2b93b0e51af868dc7dfc227a305329ccf82d9afe43e21360ea54db630360b4a51264c6e5ddbba4d6a967f56705d0555aeaafb8b1bce0 WHIRLPOOL 90715a0de2e926f729a630178cffcaf1d24f4dd1483d54d8297e14b980203d927a3364f6357048ef8b9b3032af023c219f7371679895c1c218c78b7ead2e88c2 +AUX 0.1.34-warning-cast.diff 812 SHA256 9c3aeafd401d0f2a4143d2b974bec506cb02de4d77d947f4cc0c70571a392926 SHA512 6e21000718aef1300af0160d382298e7164136c92242e1ac0b0b31b5de6ede7d55d98f0b462c42bb8a12a78449459c36ed3320191bae64b9464363f439214de0 WHIRLPOOL fedc910994fed6dec6a13a258540df4755b83b8601287f461db10d81b36c921967f96c72073fba315f95f3cf7c5128632a3cd99f1c94b21314544dec521de09a +AUX 0.1.34-warning-implicit-declaration.diff 378 SHA256 ea8b84942b0608fc29e9f0be3b6f7679c21ad9d56396e80f4ae55c24eef9cc6e SHA512 103119005560846fc7c07c6a78d975f0ab8817d24010307ee935a62e037265d3f5b02c4d6d2fb1382fba7a36d7cfaaa2daf9a750a0509bd37398abcdb30d77c8 WHIRLPOOL ab02aed0bdf75d5743331948a4c23f1b8a078ba89b81ddd2e405b6efced15421ceb8e1fb097810a42122949f637ff9166c4557b639bb530bd3b99a73e3a2c8a9 +AUX wdd.confd 63 SHA256 bd66a212cb55fdf74bf967917f5d5a68e08ab855d3b44a97d3a634da19da8d88 SHA512 e0044f0f926004352e4e60aa0c470366ca0c0476bfad4a342fc4817ac97d3e6d6aba820c152440720d4a5fbbeca1dda874ce778bcfae25a76a62e7fcd90e03c0 WHIRLPOOL ff4487a3e0c178de715361eb7be56899d1614e211751b041a529ed9f7d01519d164b67cb0a26c47a129bbeeafccc634f007c50706e67bc19e630e6caf46cd15c +AUX wdd.initd 413 SHA256 41b52446d2b513a945e84a12fc303d2b2c75e1f31c8ce33e1dde23d395947d17 SHA512 3a1657d9f029be07b83fff9332d9a58261e28b3094ca8dc1d9f40ac8bad0080917333895a8db540256379244f27a5fe3eae0ee26be1e54f4648656f2a9f5225f WHIRLPOOL d5dddf3b9dc4eb3ca779eff408861de85fcfd57f2f3f3233d97fb9292a97ecacb6243988b9a73582faeed9084c3f9e595a4ae143dd5d3bed529437bc0b37cde5 +EBUILD wdd-0.1.31.ebuild 825 SHA256 1a450d25647c16f8e0c92ad0f9f9204233c7fffbed35fdd2fabcfa4b12f06cca SHA512 7585d812305ff29bae02082c5e2b6cf1cb132dc39cb1ea5ca6f52fc6afbb11cfdc4a105442cffd83beaaa5a32f7424e08f40f934c708e832477f061baf0ee8b2 WHIRLPOOL 32ab6dd0e75c543355433e0e5b84dee1c8c6d9a5eb3d4164526aed15d0132f8753b8dd1bea6ee09aaf73c3db9311e01937157f8c7a16236efd8f24b75918ee51 +EBUILD wdd-0.1.34.ebuild 834 SHA256 d3ead45f874db35832f6c67129b79f1d16e51c733f2cd157c53afdca83e271c8 SHA512 b1223980c44c8b1348a83835585aa94a259764f47a123a068f1c89c2648ab39f1a0d1625ecd317e3e8fedfb5244d9befb7e869be82cb0b13cf45131536bf63db WHIRLPOOL e57e334bf7605a3c532201d93677f48f1d3c36e98e73baf8f2a6685d48d7e9229b35c8715e42e29fee6d1d29d4d65382a24a74e837a6409510df5b33634cc411 diff --git a/flx/wdd/files/0.1.31-remove-strip-diet.diff b/flx/wdd/files/0.1.31-remove-strip-diet.diff new file mode 100644 index 00000000..631c576f --- /dev/null +++ b/flx/wdd/files/0.1.31-remove-strip-diet.diff @@ -0,0 +1,50 @@ +diff --git a/include/rules.make b/include/rules.make +index 58d0af1..f373aad 100644 +--- a/include/rules.make ++++ b/include/rules.make +@@ -1,30 +1,16 @@ + CC ?= gcc +-STRIP ?= strip +-OBJDUMP ?= objdump +-SSTRIP ?= sstrip +-DIET ?= diet +- +-CC_ORIG := $(CC) +-override CC := $(DIET) $(CC) + + CFLAGS=$(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) + #-mpreferred-stack-boundary=2 -malign-jumps=0 -malign-loops=0 -malign-functions=0 -Os -march=i386 -mcpu=i386 +-LDFLAGS=-s -Wl,--gc-sections ++LDFLAGS=-Wl,--gc-sections + + all: $(OBJS) + + %: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- $(OBJDUMP) -h $@ | grep -q '\.sbss[ ]*00000000' && $(STRIP) -R .sbss $@ || true +- -if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi + + %-debug: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -DDEBUG -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- $(OBJDUMP) -h $@ | grep -q '\.sbss[ ]*00000000' && $(STRIP) -R .sbss $@ || true + + clean: + @rm -f *.[ao] *~ core +diff --git a/wd/Makefile b/wd/Makefile +index 58650df..e41685a 100644 +--- a/wd/Makefile ++++ b/wd/Makefile +@@ -1,9 +1,3 @@ + OBJS=wdd + include ../include/rules.make + CFLAGS+=-fomit-frame-pointer +- +-%: %.c +- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- sstrip $@ diff --git a/flx/wdd/files/0.1.31-respect-CFLAGS-LDFLAGS.diff b/flx/wdd/files/0.1.31-respect-CFLAGS-LDFLAGS.diff new file mode 100644 index 00000000..8ac81836 --- /dev/null +++ b/flx/wdd/files/0.1.31-respect-CFLAGS-LDFLAGS.diff @@ -0,0 +1,15 @@ +diff --git a/include/rules.make b/include/rules.make +index f373aad..1f95cd1 100644 +--- a/include/rules.make ++++ b/include/rules.make +@@ -1,8 +1,8 @@ + CC ?= gcc + +-CFLAGS=$(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) ++CFLAGS += $(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) + #-mpreferred-stack-boundary=2 -malign-jumps=0 -malign-loops=0 -malign-functions=0 -Os -march=i386 -mcpu=i386 +-LDFLAGS=-Wl,--gc-sections ++LDFLAGS += -Wl,--gc-sections + + all: $(OBJS) + diff --git a/flx/wdd/files/0.1.31-warning-cast.diff b/flx/wdd/files/0.1.31-warning-cast.diff new file mode 100644 index 00000000..c4a1c7b8 --- /dev/null +++ b/flx/wdd/files/0.1.31-warning-cast.diff @@ -0,0 +1,30 @@ +diff --git a/wd/wdd.c b/wd/wdd.c +index c48758c..0519eb0 100644 +--- a/wd/wdd.c ++++ b/wd/wdd.c +@@ -9,6 +9,7 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/wait.h> ++#include <unistd.h> + + const char dev_wd_str[] = "/dev/watchdog"; /* standard entry */ + const char dev_misc_str[] = "/dev/misc/watchdog"; /* devfs entry */ +@@ -22,7 +23,7 @@ const char root_str[] = "/"; + static inline void try_malloc() { + void *heap; + +- heap = (void*)sbrk(NULL); ++ heap = sbrk(0); + if (brk(heap + 4096)) + exit(1); + memset(heap, 0, 4096); +@@ -56,7 +57,7 @@ static inline int try_stat(const char *file, int do_exit) { + void *heap; + int ret; + +- heap = (void*)sbrk(NULL); ++ heap = sbrk(0); + if (brk(heap + sizeof (struct stat))) + exit(1); + memset(heap, 0, sizeof (struct stat)); diff --git a/flx/wdd/files/0.1.31-warning-implicit-declaration.diff b/flx/wdd/files/0.1.31-warning-implicit-declaration.diff new file mode 100644 index 00000000..8839d1bc --- /dev/null +++ b/flx/wdd/files/0.1.31-warning-implicit-declaration.diff @@ -0,0 +1,14 @@ +diff --git a/wd/wdd.c b/wd/wdd.c +index 4468178..c48758c 100644 +--- a/wd/wdd.c ++++ b/wd/wdd.c +@@ -6,6 +6,9 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++#include <stdlib.h> ++#include <string.h> ++#include <sys/wait.h> + + const char dev_wd_str[] = "/dev/watchdog"; /* standard entry */ + const char dev_misc_str[] = "/dev/misc/watchdog"; /* devfs entry */ diff --git a/flx/wdd/files/0.1.34-remove-strip-diet.diff b/flx/wdd/files/0.1.34-remove-strip-diet.diff new file mode 100644 index 00000000..166a3809 --- /dev/null +++ b/flx/wdd/files/0.1.34-remove-strip-diet.diff @@ -0,0 +1,50 @@ +diff --git a/include/rules.make b/include/rules.make +index 99bff82..f373aad 100644 +--- a/include/rules.make ++++ b/include/rules.make +@@ -1,30 +1,16 @@ + CC ?= gcc +-STRIP ?= strip +-OBJDUMP ?= objdump +-SSTRIP ?= sstrip +-DIET ?= diet +- +-CC_ORIG := $(CC) +-override CC := $(DIET) $(CC) + + CFLAGS=$(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) + #-mpreferred-stack-boundary=2 -malign-jumps=0 -malign-loops=0 -malign-functions=0 -Os -march=i386 -mcpu=i386 +-LDFLAGS=-s -Wl,--gc-sections ++LDFLAGS=-Wl,--gc-sections + + all: $(OBJS) + + %: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- $(OBJDUMP) -h $@ | grep -q '\.sbss[ ]*00000000' && $(STRIP) -R .sbss $@ || true +- #-if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi + + %-debug: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -DDEBUG -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- $(OBJDUMP) -h $@ | grep -q '\.sbss[ ]*00000000' && $(STRIP) -R .sbss $@ || true + + clean: + @rm -f *.[ao] *~ core +diff --git a/wd/Makefile b/wd/Makefile +index ed8a82c..e41685a 100644 +--- a/wd/Makefile ++++ b/wd/Makefile +@@ -1,9 +1,3 @@ + OBJS=wdd + include ../include/rules.make + CFLAGS+=-fomit-frame-pointer +- +-%: %.c +- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +- $(STRIP) -x --strip-unneeded -R .comment -R .note $@ +- $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true +- #$(SSTRIP) $@ diff --git a/flx/wdd/files/0.1.34-respect-CFLAGS-LDFLAGS.diff b/flx/wdd/files/0.1.34-respect-CFLAGS-LDFLAGS.diff new file mode 100644 index 00000000..8ac81836 --- /dev/null +++ b/flx/wdd/files/0.1.34-respect-CFLAGS-LDFLAGS.diff @@ -0,0 +1,15 @@ +diff --git a/include/rules.make b/include/rules.make +index f373aad..1f95cd1 100644 +--- a/include/rules.make ++++ b/include/rules.make +@@ -1,8 +1,8 @@ + CC ?= gcc + +-CFLAGS=$(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) ++CFLAGS += $(GCC_ARCH_SMALL) $(GCC_CPU_SMALL) $(GCC_OPT_SMALL) + #-mpreferred-stack-boundary=2 -malign-jumps=0 -malign-loops=0 -malign-functions=0 -Os -march=i386 -mcpu=i386 +-LDFLAGS=-Wl,--gc-sections ++LDFLAGS += -Wl,--gc-sections + + all: $(OBJS) + diff --git a/flx/wdd/files/0.1.34-warning-cast.diff b/flx/wdd/files/0.1.34-warning-cast.diff new file mode 100644 index 00000000..c4a1c7b8 --- /dev/null +++ b/flx/wdd/files/0.1.34-warning-cast.diff @@ -0,0 +1,30 @@ +diff --git a/wd/wdd.c b/wd/wdd.c +index c48758c..0519eb0 100644 +--- a/wd/wdd.c ++++ b/wd/wdd.c +@@ -9,6 +9,7 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/wait.h> ++#include <unistd.h> + + const char dev_wd_str[] = "/dev/watchdog"; /* standard entry */ + const char dev_misc_str[] = "/dev/misc/watchdog"; /* devfs entry */ +@@ -22,7 +23,7 @@ const char root_str[] = "/"; + static inline void try_malloc() { + void *heap; + +- heap = (void*)sbrk(NULL); ++ heap = sbrk(0); + if (brk(heap + 4096)) + exit(1); + memset(heap, 0, 4096); +@@ -56,7 +57,7 @@ static inline int try_stat(const char *file, int do_exit) { + void *heap; + int ret; + +- heap = (void*)sbrk(NULL); ++ heap = sbrk(0); + if (brk(heap + sizeof (struct stat))) + exit(1); + memset(heap, 0, sizeof (struct stat)); diff --git a/flx/wdd/files/0.1.34-warning-implicit-declaration.diff b/flx/wdd/files/0.1.34-warning-implicit-declaration.diff new file mode 100644 index 00000000..8839d1bc --- /dev/null +++ b/flx/wdd/files/0.1.34-warning-implicit-declaration.diff @@ -0,0 +1,14 @@ +diff --git a/wd/wdd.c b/wd/wdd.c +index 4468178..c48758c 100644 +--- a/wd/wdd.c ++++ b/wd/wdd.c +@@ -6,6 +6,9 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++#include <stdlib.h> ++#include <string.h> ++#include <sys/wait.h> + + const char dev_wd_str[] = "/dev/watchdog"; /* standard entry */ + const char dev_misc_str[] = "/dev/misc/watchdog"; /* devfs entry */ diff --git a/flx/wdd/files/wdd.confd b/flx/wdd/files/wdd.confd new file mode 100644 index 00000000..29635f06 --- /dev/null +++ b/flx/wdd/files/wdd.confd @@ -0,0 +1,2 @@ +NICE="10" +WATCH_FILES="/ /dev/watchdog /proc/self/root /tmp/." diff --git a/flx/wdd/files/wdd.initd b/flx/wdd/files/wdd.initd new file mode 100755 index 00000000..b7b531aa --- /dev/null +++ b/flx/wdd/files/wdd.initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need localmount +} + +start() { + ebegin "Starting wdd" + start-stop-daemon --start --quiet --nicelevel ${NICE:-10} \ + --exec /sbin/wdd -- ${WATCH_FILES} + eend ${?} +} + +stop() { + ebegin "Stopping wdd" + start-stop-daemon --stop --retry 5 --exec /sbin/wdd + eend ${?} +} diff --git a/flx/wdd/wdd-0.1.31.ebuild b/flx/wdd/wdd-0.1.31.ebuild new file mode 100644 index 00000000..4e98545d --- /dev/null +++ b/flx/wdd/wdd-0.1.31.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit git-2 eutils + +DESCRIPTION="Formilux Tools" +HOMEPAGE="http://master.formilux.org/git/dist/src/flxutils.git" +EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git" +EGIT_COMMIT="v${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare () +{ + epatch "${FILESDIR}"/${PV}-remove-strip-diet.diff + epatch "${FILESDIR}"/${PV}-respect-CFLAGS-LDFLAGS.diff + epatch "${FILESDIR}"/${PV}-warning-implicit-declaration.diff + epatch "${FILESDIR}"/${PV}-warning-cast.diff + + tc-export CC +} + +src_compile () +{ + emake -C wd +} + +src_install () +{ + into / + dosbin wd/wdd + doman wd/wdd.8 + + newinitd ${FILESDIR}/wdd.initd wdd + newconfd ${FILESDIR}/wdd.confd wdd +} diff --git a/flx/wdd/wdd-0.1.34.ebuild b/flx/wdd/wdd-0.1.34.ebuild new file mode 100644 index 00000000..d791b650 --- /dev/null +++ b/flx/wdd/wdd-0.1.34.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit git-2 eutils + +DESCRIPTION="Formilux Tools" +HOMEPAGE="http://master.formilux.org/git/dist/src/flxutils.git" +EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git" +EGIT_COMMIT="v${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 mips arm" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare () +{ + epatch "${FILESDIR}"/${PV}-remove-strip-diet.diff + epatch "${FILESDIR}"/${PV}-respect-CFLAGS-LDFLAGS.diff + epatch "${FILESDIR}"/${PV}-warning-implicit-declaration.diff + epatch "${FILESDIR}"/${PV}-warning-cast.diff + + tc-export CC +} + +src_compile () +{ + emake -C wd +} + +src_install () +{ + into / + dosbin wd/wdd + doman wd/wdd.8 + + newinitd ${FILESDIR}/wdd.initd wdd + newconfd ${FILESDIR}/wdd.confd wdd +} |