|
|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 2009.01 |
|
|
|
|
%define V_dist 2009-01 |
|
|
|
|
%define V_opkg 2015.07.16 |
|
|
|
|
%define V_dist 20150716 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: crush |
|
|
|
|
@ -36,14 +36,14 @@ Class: EVAL
|
|
|
|
|
Group: Text |
|
|
|
|
License: Apache |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20091228 |
|
|
|
|
Release: 20160306 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://crush-tools.googlecode.com/files/crush-%{V_dist}.tar.gz |
|
|
|
|
Source0: https://github.com/google/crush-tools/releases/download/%{V_dist}/crush-tools-%{V_dist}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, gcc, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
CRUSH (Custom Reporting Utilities for SHell) is a collection of |
|
|
|
|
@ -53,12 +53,12 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
%track |
|
|
|
|
prog crush = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://code.google.com/p/crush-tools/downloads/list |
|
|
|
|
regex = crush-(__VER__)\.tar\.gz |
|
|
|
|
url = https://github.com/google/crush-tools/releases |
|
|
|
|
regex = crush-tools-(\d+)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n crush-%{V_dist} |
|
|
|
|
%setup -q -n crush-tools-%{V_dist} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
|