Package: enca Version: 1.18 Revision: 1 Source: http://dl.cihar.com/%n/%n-%v.tar.xz Description: Extremely Naive Charset Analyser License: GPL Maintainer: None Depends: %N-shlibs (= %v-%r) BuildDepends: << fink (>= 0.34), fink-package-precedence, libiconv-dev, recode-dev << BuildDependsOnly: True Source-Checksum: SHA256(019995e9324510f0667b73e88753bc496c744f93bff48bbfb114165f8875326c) PatchScript: << ### Fix /usr paths in the doc. Cheaper to perl pie than to rebuild the docs perl -pi -e 's|\/usr\/share\/gtk-doc|%p/share/gtk-doc|g' devel-docs/html/libenca-{Analyser,Auxiliary-Functions,Charsets-and-Surfaces}.html # Patch configure to not link like Puma on Yosemite perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << ConfigureParams: << --enable-dependency-tracking \ --disable-static \ --libexecdir=%p/lib \ yeti_cv_file_locale_alias=%p/share/locale/locale.alias << CompileScript: << %{default_script} fink-package-precedence . << InstallScript: << make install DESTDIR=%d << InfoTest: << TestScript: << # test-convert-filter.sh and test-convert-64.sh are not -jN safe make -j1 check || exit 2 << << DocFiles: AUTHORS ChangeLog COPYING DEVELOP.md FAQ NEWS README.md THANKS SplitOff: << Package: %N-shlibs Files: lib/libenca.*.dylib Shlibs: %p/lib/libenca.0.dylib 6.0.0 %n (>= 1.12-1) DocFiles: AUTHORS ChangeLog COPYING DEVELOP.md FAQ NEWS README.md THANKS << SplitOff2: << Package: enca-bin Depends: << %N-shlibs (>= %v-%r), gettext-bin, libiconv, recode-shlibs << Replaces: %N (<= 1.13-1) Files: << bin lib/enca/extconv share/man << DocFiles: AUTHORS ChangeLog COPYING FAQ NEWS README.md THANKS << HomePage: http://cihar.com/software/enca/ DescDetail: << Enca (Extremely Naive Charset Analyser) consists of two main components: * libenca, an encoding detection library. It currently supports Belarussian, Bulgarian, Croatian, Czech, Estonian, Hungarian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian, Chinese, and some multibyte encodings independently on language. The API should be relatively stable (to be read as `it will either change only marginally, or very drastically'). * enca, a command line frontend, integrating libenca and several charset conversion libraries and tools (GNU recode, UNIX98 iconv, perl Unicode::Map, cstocs). << DescPackaging: << Former Maintainer: William Xu <<