graphics/libcaca: rebuilt
[git/cygwin-packages/libcaca.git] / libcaca-0.99.beta16-11.cygport
1 DESCRIPTION="Color ASCII art library"
2 HOMEPAGE="http://libcaca.zoy.org/"
3 SRC_URI="http://libcaca.zoy.org/raw-attachment/wiki/${PN}/${P}.tar.gz"
4 PATCH_URI="
5 0.99.16-caca-sharp-dllmap.patch
6 0.99.16-glu.patch
7 0.99.16-plugins.patch
8 0.99.16-ruby.patch
9 0.99.16-ncurses57.patch
10 "
11
12 PKG_NAMES="${PN} ${PN}-bin ${PN}0 ${PN}++0 ${PN}-devel ${PN}++-devel ${PN}-doc ruby-caca" # caca-sharp"
13 libcaca_bin_CONTENTS="--exclude=*-config.* --exclude=${PN}-dev \
14 usr/bin/*.exe usr/share/doc/ usr/share/${PN} usr/share/man/man1/"
15 libcaca0_CONTENTS="usr/bin/cygcaca-0.dll usr/lib/caca/"
16 libcaca__0_CONTENTS="usr/bin/cygcaca++-0.dll"
17 libcaca_devel_CONTENTS="--exclude=*++.* usr/bin/caca-config usr/include/ usr/lib/lib*
18 usr/lib/pkgconfig/ usr/share/man/man1/caca-config.*"
19 libcaca___devel_CONTENTS="usr/include/*++.h usr/lib/lib*++.* usr/lib/pkgconfig/**++.pc"
20 libcaca_doc_CONTENTS="usr/share/doc/${PN}-dev/html/ usr/share/man/man3/"
21 #caca_sharp_CONTENTS='usr/lib/mono/'
22 ruby_caca_CONTENTS='usr/lib/ruby/'
23
24 CYGCONF_ARGS="
25 --disable-debug --enable-doc
26 --enable-x11 --with-x --x-libraries=/usr/lib --enable-gl
27 --enable-imlib2 --enable-ncurses --enable-plugins
28 --disable-cocoa --disable-conio --disable-slang --disable-win32
29 --enable-cxx --disable-csharp --enable-ruby
30 ac_cv_header_windows_h=no ac_cv_header_winsock2_h=no
31 "
32
33 src_install() {
34 cd ${B}
35 cyginstall \
36 cacadir=/usr/lib/mono/caca-sharp \
37 docdir=/usr/share/doc/${PN}
38
39 rm -f ${D}/usr/share/man/man1/cacademo.1
40 echo '.so cacafire.1' > ${D}/usr/share/man/man1/cacademo.1
41
42 find ${D}/usr/share/man/man3/ -type f ! -iname 'caca*' ! -iname 'cucul*' -exec rm -f '{}' +
43 }
This page took 0.036148 seconds and 5 git commands to generate.