From fe245e908d556962667728f3630a553c7c3cc8c7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 14 Nov 2010 16:53:01 +0100 Subject: [PATCH] enca: add meta file support Signed-off-by: Stephan Raue --- packages/other/enca/build | 2 -- packages/other/enca/install | 2 +- packages/other/enca/meta | 14 ++++++++++++++ ...sscompile.diff => enca-1.13-crosscompile.patch} | 0 packages/other/enca/url | 1 - 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 packages/other/enca/meta rename packages/other/enca/patches/{10-enca-crosscompile.diff => enca-1.13-crosscompile.patch} (100%) delete mode 100644 packages/other/enca/url diff --git a/packages/other/enca/build b/packages/other/enca/build index 79b1bf9463..574d74b712 100755 --- a/packages/other/enca/build +++ b/packages/other/enca/build @@ -2,8 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain - cd $PKG_BUILD ac_cv_file__dev_random=yes \ ac_cv_file__dev_urandom=no \ diff --git a/packages/other/enca/install b/packages/other/enca/install index 5924367d57..e984b7d01d 100755 --- a/packages/other/enca/install +++ b/packages/other/enca/install @@ -3,5 +3,5 @@ . config/options $1 mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/lib/.libs/*.so* $INSTALL/usr/lib + cp $PKG_BUILD/lib/.libs/*.so* $INSTALL/usr/lib diff --git a/packages/other/enca/meta b/packages/other/enca/meta new file mode 100644 index 0000000000..e4d41d5bfe --- /dev/null +++ b/packages/other/enca/meta @@ -0,0 +1,14 @@ +PKG_NAME="enca" +PKG_VERSION="1.13" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://freshmeat.net/projects/enca/" +PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="other" +PKG_SHORTDESC="enca: detects the encoding of text files, on the basis of knowledge of their language." +PKG_LONGDESC="Enca detects the encoding of text files, on the basis of knowledge of their language. It can also convert them to other encodings, allowing you to recode files without knowing their current encoding. It supports most of Central and East European languages, and a few Unicode variants, independently on language." +PKG_IS_ADDON="no" diff --git a/packages/other/enca/patches/10-enca-crosscompile.diff b/packages/other/enca/patches/enca-1.13-crosscompile.patch similarity index 100% rename from packages/other/enca/patches/10-enca-crosscompile.diff rename to packages/other/enca/patches/enca-1.13-crosscompile.patch diff --git a/packages/other/enca/url b/packages/other/enca/url deleted file mode 100644 index dac8a76c82..0000000000 --- a/packages/other/enca/url +++ /dev/null @@ -1 +0,0 @@ -http://dl.cihar.com/enca/enca-1.13.tar.bz2 \ No newline at end of file