Re: GAR Makefile for gazpacho-0.6.1



Code in haste.  Repent in leisure...

(1) new makefile attached


(2) $(garnome)/share/applications/gazpacho.desktop will need to be
edited:
- change path for executable
- change path for icon

-Joseph

==============================================================================


On Wed, 2005-08-17 at 14:05 -0400, Joseph E. Sacco, PhD wrote:
> Attached is a GAR Makefile to build ./hacker-tools/gazpacho.
> 
> 
> Note:
> 
>         PYTHONPATH must be defined and exported in gar.conf.mk.
> 
> 
> For example,
> 
>                              ...
> # If you want to use a different version of python everywhere
> # change this
> PYTHON = $(shell which python)
> PYTHONPATH=$(main_libdir)/python2.4/site-packages:$(main_libdir)/python2.4/site-packages/gtk-2.0
> 
>                              ...
> STAGE_EXPORTS += CPPFLAGS CFLAGS CXXFLAGS LDFLAGS ACLOCAL_FLAGS
> STAGE_EXPORTS += CC CXX PYTHON PYTHONPATH
>                              ...
> 
> 
> -Joseph
> 
> 
-- 
joseph_sacco [at] comcast [dot] net
GARNAME = gazpacho
GARVERSION = 0.6.1
CATEGORIES = hacker-tools
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = bindings/pygtk platform/libgnomeui platform/libgnomeprintui platform/gail

DESCRIPTION = gazpacho
define BLURB
gazpacho allows you to create the Graphical User Interface (GUI) of your
GTK+ program in a visual way. It started as a Glade-3 clone but now it is more
complete and featured than its ancestor. It tries to be compatible with libglade
but it can handle some widgets that still lack support in libglade.
endef

BUILD_SCRIPTS = custom
INSTALL_SCRIPTS = custom

include ../category.mk

build-custom:
	cd $(WORKSRC) && PYTHONPATH=$(PYTHONPATH) $(PYTHON) setup.py build 

install-custom:
	cd $(WORKSRC) && PYTHONPATH=$(PYTHONPATH) $(PYTHON) setup.py install --prefix=$(main_prefix)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]