1 ###############################################################################
12 WINE_DIR
=$(PACKAGE
)-$(VERSION
)
14 CFGFLAGS
=--without-x
--without-freetype
--prefix=$(LOCAL_DIR
) CFLAGS
="$(CFLAGS)" CXXFLAGS
="$(CXXFLAGS)" LDFLAGS
="$(LDFLAGS)"
16 ENABLE_WIN64
=--enable-win64
17 WITH_WINE64
=--with-wine64
=..
/wine64
21 all: $(PACKAGE
)-install.tag
clean
23 download
/$(PACKAGE
)-$(VERSION
).
tar.bz2
:
24 $(WGET
) http
://sourceforge.net
/projects
/wine
/files
/Source
/$(PACKAGE
)-$(VERSION
).
tar.bz2
26 $(PACKAGE
)-unpack.tag
: download
/$(PACKAGE
)-$(VERSION
).
tar.bz2
27 tar xjvf download
/$(PACKAGE
)-$(VERSION
).
tar.bz2
31 $(PACKAGE
)64-configure.tag
: $(PACKAGE
)-unpack.tag
34 ..
/$(WINE_DIR
)/configure
$(ENABLE_WIN64
) $(CFGFLAGS
)
36 $(PACKAGE
)64-make.tag
: $(PACKAGE
)64-configure.tag
40 $(PACKAGE
)32-configure.tag
: $(PACKAGE
)-unpack.tag
43 ..
/$(WINE_DIR
)/configure
$(WITH_WINE64
) $(CFGFLAGS
)
46 $(PACKAGE
)32-make.tag
: $(PACKAGE
)32-configure.tag
51 $(PACKAGE
)-install.tag
: $(PACKAGE
)64-make.tag
$(PACKAGE
)32-make.tag
52 $(MAKE
) -C wine64
install prefix=$(LOCAL_DIR
)
53 $(MAKE
) -C wine_obj
install prefix=$(LOCAL_DIR
)
56 $(PACKAGE
)-install.tag
: $(PACKAGE
)32-make.tag
57 $(MAKE
) -C wine_obj
install prefix=$(LOCAL_DIR
)
63 rm -rf
$(WINE_DIR
) wine64 wine_obj download
/* *.tag