Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 21 lines (18 sloc) 0.664 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
from gub import misc
from gub import target

class Libunicows (target.MakeBuild):
    source = 'http://surfnet.dl.sourceforge.net/libunicows/libunicows-1.1.2-src.tar.gz'
    def install (self):
        self.system ('mkdir -p %(install_prefix)s/lib %(install_prefix)s/bin')
        self.system ('cp %(builddir)s/lib/mingw32/*.a %(install_prefix)s/lib')
    def configure (self):
        self.shadow ()

class Libunicows__mingw (Libunicows):
    make_flags = misc.join_lines ('''-C src -f makefile.mingw32
AR=%(toolchain_prefix)sar
CC=%(toolchain_prefix)sgcc
LD=%(toolchain_prefix)sld
PATHSEP=/
RANLIB=%(toolchain_prefix)sranlib
STRIP=%(toolchain_prefix)sstrip
''')
Something went wrong with that request. Please try again.