libcaca 0.99.beta19
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 27 Aug 2014 00:12:41 +0000 (19:12 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 27 Aug 2014 00:12:41 +0000 (19:12 -0500)
libcaca.cygport

index 95c0a8caae5fcad2a552e8e5a913a54ff2e4c9f9..45d3d332f2e839bd8a4634e50450269e5d72daba 100644 (file)
@@ -1,17 +1,17 @@
 inherit python python3 ruby autotools # java pypy
 
 NAME="libcaca"
-VERSION=0.99.beta18
-RELEASE=2
-CATEGORY="Graphics"
+VERSION=0.99.beta19
+RELEASE=1
+CATEGORY="Libs"
 SUMMARY="Color ASCII art library"
 DESCRIPTION="libcaca is a graphics library that outputs text instead of pixels,
 so that it can work on older video cards or text terminals. It is not unlike
 the famous AAlib library, except that colors are supported. libcaca can use
 almost any virtual terminal to work, and there is also a native X11 driver that
 does not require a text terminal."
-HOMEPAGE="http://libcaca.zoy.org/"
-SRC_URI="http://libcaca.zoy.org/raw-attachment/wiki/${PN}/${P}.tar.gz"
+HOMEPAGE="http://caca.zoy.org/wiki/libcaca"
+SRC_URI="http://caca.zoy.org/files/libcaca/libcaca-${VERSION}.tar.gz"
 PATCH_URI="
        0.99.16-caca-sharp-dllmap.patch
        0.99.16-plugins.patch
@@ -19,14 +19,13 @@ PATCH_URI="
        0.99.18-java.patch
        0.99.18-ncurses6.patch
        0.99.18-python-errno.patch
-       0.99.18-ruby19.patch
 "
 
-PKG_NAMES="${PN}-bin ${PN}0 ${PN}++0 ${PN}-devel ${PN}++-devel ${PN}-doc
+PKG_NAMES="${NAME}-bin ${NAME}0 ${NAME}++0 ${NAME}-devel ${NAME}++-devel ${NAME}-doc
            python-caca python3-caca ruby-caca" # java-caca pypy-caca
 libcaca_bin_SUMMARY="${SUMMARY} (sample programs)"
 libcaca_bin_CONTENTS="--exclude=*-config.* --exclude=html --exclude=pdf \
-                      usr/bin/*.exe usr/share/doc/ usr/share/${PN} usr/share/man/man1/"
+                      usr/bin/*.exe usr/share/doc/ usr/share/${NAME} usr/share/man/man1/"
 libcaca0_SUMMARY="${SUMMARY} (C runtime)"
 libcaca0_CONTENTS="usr/bin/cygcaca-0.dll"
 libcaca__0_SUMMARY="${SUMMARY} (C++ runtime)"
@@ -37,7 +36,7 @@ libcaca_devel_CONTENTS="--exclude=*++.* usr/bin/caca-config usr/include/ usr/lib
 libcaca___devel_SUMMARY="${SUMMARY} (C++ development)"
 libcaca___devel_CONTENTS="usr/include/*++.h usr/lib/lib*++.* usr/lib/pkgconfig/**++.pc"
 libcaca_doc_SUMMARY="${SUMMARY} (API documentation)"
-libcaca_doc_CONTENTS="usr/share/doc/${PN}/*/ usr/share/man/man3/"
+libcaca_doc_CONTENTS="usr/share/doc/${NAME}/*/ usr/share/man/man3/"
 java_caca_CATEGORY="Java"
 java_caca_SUMMARY="${SUMMARY} (Java JNI bindings)"
 java_caca_CONTENTS="usr/bin/cygcaca-java.dll ${JAVA_DIR#/}/caca.jar"
@@ -55,8 +54,9 @@ python3_caca_REQUIRES="libcaca-devel" # ctypes.util.find_library('caca')
 python3_caca_CONTENTS=${PYTHON3_SITELIB#/}
 ruby_caca_CATEGORY="Ruby"
 ruby_caca_SUMMARY="${SUMMARY} (Ruby bindings)"
-ruby_caca_CONTENTS=${RUBY_VENDORLIB#/}
+ruby_caca_CONTENTS="${RUBY_VENDORARCH#/}/*.so ${RUBY_VENDORLIB#/}/*.rb"
 
+# latex docs FTBFS
 CYGCONF_ARGS="
        --disable-debug --enable-doc
        --enable-x11 --with-x --x-libraries=/usr/lib --enable-gl
@@ -64,12 +64,13 @@ CYGCONF_ARGS="
        --disable-cocoa --disable-conio --disable-slang --disable-win32
        --enable-cxx --disable-csharp --disable-java --enable-python --enable-ruby
        ac_cv_header_windows_h=no ac_cv_header_winsock2_h=no
+       ac_cv_path_LATEX=no
 "
 
 src_install() {
        cd ${B}
-       cyginstall
-       mv ${D}/usr/share/doc/${PN}{-dev,}
+       cyginstall RUBY_SITEARCHDIR=${RUBY_VENDORARCH} RUBY_SITELIBDIR=${RUBY_VENDORLIB}
+       mv ${D}/usr/share/doc/${NAME}{-dev,}
        rm -f ${D}/usr/lib/libcucul*.la ${D}/usr/share/doc/libcucul*
 
        # the python bindings are ctypes-based and Py3K compatible
This page took 0.031468 seconds and 5 git commands to generate.