summaryrefslogtreecommitdiff
path: root/packages/enca
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-04-11 10:49:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-11 10:49:55 +0000
commitffed8f1e9cd14a0cc4b7fe010dd5e8a885159b10 (patch)
tree355817c9523e09ec95716fa4d6149057be5f3ca2 /packages/enca
parent5bffa444d00d500ace2883fd3195973689a15c37 (diff)
enca: added version 1.9 from #720 - thx to John 'JohnX' Bloom
Diffstat (limited to 'packages/enca')
-rw-r--r--packages/enca/.mtn2git_empty0
-rw-r--r--packages/enca/enca_1.9.bb21
-rw-r--r--packages/enca/files/.mtn2git_empty0
-rw-r--r--packages/enca/files/configure-hack.patch12
-rw-r--r--packages/enca/files/dont-run-tests.patch13
5 files changed, 46 insertions, 0 deletions
diff --git a/packages/enca/.mtn2git_empty b/packages/enca/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/enca/.mtn2git_empty
diff --git a/packages/enca/enca_1.9.bb b/packages/enca/enca_1.9.bb
new file mode 100644
index 0000000000..2c0b1a4f86
--- /dev/null
+++ b/packages/enca/enca_1.9.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Enca is an Extremely Naive Charset Analyser"
+LICENSE = "GPL2"
+SECTION = "libs"
+PRIORITY = "optional"
+HOMEPAGE = "http://trific.ath.cx/software/enca/"
+MAINTAINER = "John Bloom <johnxx@gmail.com>"
+
+SRC_URI = "http://trific.ath.cx/Ftp//enca/enca-${PV}.tar.bz2 \
+ file://configure-hack.patch;patch=1 \
+ file://dont-run-tests.patch;patch=1 "
+
+inherit autotools
+
+do_compile() {
+ cd ${S}/tools && oe_runmake CC=${BUILD_CC}
+ oe_runmake
+}
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/enca/files/.mtn2git_empty b/packages/enca/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/enca/files/.mtn2git_empty
diff --git a/packages/enca/files/configure-hack.patch b/packages/enca/files/configure-hack.patch
new file mode 100644
index 0000000000..85abcdcf02
--- /dev/null
+++ b/packages/enca/files/configure-hack.patch
@@ -0,0 +1,12 @@
+--- enca-1.9/configure.ac.orig 2006-02-15 00:57:39.000000000 -0800
++++ enca-1.9/configure.ac 2006-02-15 00:57:46.000000000 -0800
+@@ -92,9 +92,6 @@
+ dnl And for gtk-doc
+ gtk_CHECK_GTK_DOC
+
+-dnl Check for good random number sources
+-AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
+-
+ dnl Dirty path hack. Helps some people with badly set up search paths.
+ if test "$prefix" = "NONE"; then
+ LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
diff --git a/packages/enca/files/dont-run-tests.patch b/packages/enca/files/dont-run-tests.patch
new file mode 100644
index 0000000000..321d1e6201
--- /dev/null
+++ b/packages/enca/files/dont-run-tests.patch
@@ -0,0 +1,13 @@
+Index: enca-1.9/Makefile.am
+===================================================================
+--- enca-1.9.orig/Makefile.am 2005-11-24 11:21:32.000000000 +0100
++++ enca-1.9/Makefile.am 2006-04-11 11:14:21.832502904 +0200
+@@ -2,7 +2,7 @@
+ if MAINTAINER_MODE
+ SUBDIRS = tools data script lib src devel-docs test
+ else
+-SUBDIRS = tools script lib src devel-docs test
++SUBDIRS = tools script lib src devel-docs
+ endif
+ man_MANS = man/enca.1
+