diff options
Diffstat (limited to 'graphics/py-gd/files/Setup.in')
-rw-r--r-- | graphics/py-gd/files/Setup.in | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/graphics/py-gd/files/Setup.in b/graphics/py-gd/files/Setup.in index 316460bd55c..a0abfb29bbe 100644 --- a/graphics/py-gd/files/Setup.in +++ b/graphics/py-gd/files/Setup.in @@ -1,8 +1,20 @@ -# $NetBSD: Setup.in,v 1.4 1999/11/02 19:48:57 jlam Exp $ +#!/usr/bin/env python +# $NetBSD: Setup.in,v 1.5 2004/09/01 19:17:05 darcy Exp $ -*shared* -gd gdmodule.c \ - -I@LOCALBASE@/include -I@X11BASE@/include -I@X11BASE@/include/X11 \ - -L@LOCALBASE@/lib -R@LOCALBASE@/lib \ - -L@X11BASE@/lib -R@X11BASE@/lib \ - -lgd -lpng -lz -lttf -lintl -lXpm -lX11 +from distutils.core import setup, Extension + +setup(name = "gdmodule", + version = "1.3", + description = "Interface to gd graphics library", + author = "Richard Jones", + author_email = "richard@bofh.asn.au", + url = "http://starship.python.net/~richard/gdmodule/", + ext_modules = [Extension( + name = 'gd', + sources = ['gdmodule.c'], + include_dirs = ['@LOCALBASE@/include/'], + library_dirs = ['@LOCALBASE@/lib'], + libraries = ['gd'], + )], + +) |