From 98ff729e62cd9652c7106f3ff311cc30bf2a7dac Mon Sep 17 00:00:00 2001 From: Christopher Howard Date: Sat, 18 Apr 2020 23:31:04 -0800 Subject: gnu: Add libticonv. * gnu/packages/emulators.scm (libticonv): New variable. Signed-off-by: Christopher Baines --- gnu/packages/emulators.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index e34679fcea..55d8efff4e 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1420,6 +1420,46 @@ play them on systems for which they were never designed!") "This package contains libticables, a library for operations on @acronym{TI, Texas Instruments} calculator link cables. +This is a part of the TiLP project.") + (home-page "http://lpg.ticalc.org/prj_tilp/") + (license license:gpl2+))) + +(define-public libticonv + (package + (name "libticonv") + (version "1.1.5") + (source (origin + (method url-fetch) + (uri "https://www.ticalc.org/pub/unix/tilibs.tar.gz") + (sha256 + (base32 + "07cfwwlidgx4fx88whnlch6y1342x16h15lkvkkdlp2y26sn2yxg")))) + (build-system gnu-build-system) + (arguments + ;; build fails with out --enable-iconv (...?) + `(#:configure-flags (list "--enable-iconv") + #:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key source #:allow-other-keys) + (invoke "tar" "xvkf" source) + (invoke "tar" "xvkf" + (string-append "tilibs2/libticonv-" + ,version ".tar.bz2")) + (chdir (string-append "libticonv-" ,version)) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib))) + (synopsis "Character conversion library for TI calculators") + (description + "This package contains libticonv, a library to support working with +@acronym{TI, Texas Instruments} calculator charsets. + This is a part of the TiLP project.") (home-page "http://lpg.ticalc.org/prj_tilp/") (license license:gpl2+))) -- cgit v1.2.3