Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (17 sloc) 0.611 kb
from gub import target
class Libgnugetopt (target.MakeBuild):
source = 'http://lilypond.org/download/gub-sources/libgnugetopt/libgnugetopt-1.3.tar.bz2'
def patch (self):
self.dump ('''
prefix = %(prefix_dir)s
libdir = $(prefix)/lib
includedir = $(prefix)/include
install: all
\tinstall -d $(DESTDIR)/$(libdir)/
\tinstall -m 644 libgnugetopt.so.1 $(DESTDIR)/$(libdir)/
\tinstall -d $(DESTDIR)/$(includedir)/
\tinstall -m 644 getopt.h $(DESTDIR)/$(includedir)/
''',
'%(srcdir)s/Makefile', mode='a')
## is (L)GPL, but doesn't distribute license file.
license_files = ['']
Jump to Line
Something went wrong with that request. Please try again.