|
|
|
@ -24,21 +24,21 @@
|
|
|
|
|
# package information |
|
|
|
|
Name: audiofile |
|
|
|
|
Summary: Library to handle various audio file formats |
|
|
|
|
URL: http://www.68k.org/~michael/audiofile/ |
|
|
|
|
URL: http://audiofile.68k.org/ |
|
|
|
|
Vendor: SGI, Michael Pruett |
|
|
|
|
Packager: OpenPKG Foundation e.V. |
|
|
|
|
Distribution: OpenPKG Community |
|
|
|
|
Class: PLUS |
|
|
|
|
Group: Audio |
|
|
|
|
License: LGPL |
|
|
|
|
Version: 0.2.7 |
|
|
|
|
Release: 20100322 |
|
|
|
|
Version: 0.3.6 |
|
|
|
|
Release: 20150117 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.68k.org/~michael/audiofile/audiofile-%{version}.tar.gz |
|
|
|
|
Source0: http://audiofile.68k.org/audiofile-%{version}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
@ -51,7 +51,7 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
%track |
|
|
|
|
prog audiofile = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://www.68k.org/~michael/audiofile/ |
|
|
|
|
url = http://audiofile.68k.org/ |
|
|
|
|
regex = audiofile-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -61,7 +61,12 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CXX="%{l_cxx}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
CXXFLAGS="%{l_cxxflags -O}" \ |
|
|
|
|
CPPFLAGS="%{l_cppflags}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
LIBS="-lstdc++ -lm" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--disable-shared |
|
|
|
|