Mercurial > mxe-octave
comparison src/libglade.mk @ 2767:69b720fb1a9f
package libglade: use configure and make options instead of patch and autoconf
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Thu, 20 Sep 2012 20:48:22 +1000 |
parents | 066ce808ad93 |
children | 47558e958113 |
comparison
equal
deleted
inserted
replaced
2766:d733a98b84d6 | 2767:69b720fb1a9f |
---|---|
14 $(SED) -n 's,.*"libglade-\([0-9][^"]*\)\.tar.gz.*,\1,p' | \ | 14 $(SED) -n 's,.*"libglade-\([0-9][^"]*\)\.tar.gz.*,\1,p' | \ |
15 tail -1 | 15 tail -1 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 cd '$(1)' && autoreconf -fi | |
20 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | 20 --host='$(TARGET)' \ |
22 --build="`config.guess`" \ | 21 --build="`config.guess`" \ |
23 --disable-shared \ | 22 --disable-shared \ |
24 --prefix='$(PREFIX)/$(TARGET)' | 23 --prefix='$(PREFIX)/$(TARGET)' \ |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install | 24 PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1)' -j 1 install-exec | |
26 endef | 27 endef |