|
|
|
|
@ -22,13 +22,13 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_tarball 1.7.15 |
|
|
|
|
%define V_subdir 1.7.15 |
|
|
|
|
%define V_tarball 1.8.10 |
|
|
|
|
%define V_subdir 1.8.10 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: waf |
|
|
|
|
Summary: Build System |
|
|
|
|
URL: http://code.google.com/p/waf/ |
|
|
|
|
URL: https://waf.io/ |
|
|
|
|
Vendor: Thomas Nagy |
|
|
|
|
Packager: OpenPKG Foundation e.V. |
|
|
|
|
Distribution: OpenPKG Community |
|
|
|
|
@ -36,14 +36,14 @@ Class: EVAL
|
|
|
|
|
Group: Building |
|
|
|
|
License: MIT-style |
|
|
|
|
Version: %{V_tarball} |
|
|
|
|
Release: 20140116 |
|
|
|
|
Release: 20150607 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://waf.googlecode.com/files/waf-%{V_tarball}.tar.bz2 |
|
|
|
|
Source0: https://github.com/waf-project/waf/archive/waf-%{version}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, python |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101, python |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20140101, python |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20140101, python |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
Waf is a Python-based framework for configuring, compiling and |
|
|
|
|
@ -53,12 +53,12 @@ PreReq: OpenPKG, openpkg >= 20100101, python
|
|
|
|
|
%track |
|
|
|
|
prog waf = { |
|
|
|
|
version = %{V_tarball} |
|
|
|
|
url = http://code.google.com/p/waf/downloads/list |
|
|
|
|
regex = waf-(\d+\.\d+\.\d+)\.tar\.bz2 |
|
|
|
|
url = https://github.com/waf-project/waf/releases |
|
|
|
|
regex = waf-(\d+\.\d+\.\d+)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n waf-%{V_subdir} |
|
|
|
|
%setup -q -n waf-waf-%{V_subdir} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%{l_prefix}/bin/python waf-light --make-waf |
|
|
|
|
|