ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] UPDATED: Spec file for json-c-0.8.


From: Robert P. J. Day
Subject: [Ltib] UPDATED: Spec file for json-c-0.8.
Date: Mon, 12 Jan 2009 05:51:22 -0500
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)

%define pfx /opt/freescale/rootfs/%{_target_cpu}

Summary         : JSON C Parser
Name            : json-c
Version         : 0.8
Release         : 0
License         : MIT
Packager        : Robert P. J. Day
Group           : System Environment/Libraries
URL             : http://oss.metaparadism.com/json-c/
Source          : %{name}-%{version}.tar.gz
BuildRoot       : %{_tmppath}/%{name}
Prefix          : %{pfx}

%Description
%{summary}

%Prep
%setup

%Build
ac_cv_func_malloc_0_nonnull='yes' \
jm_cv_func_working_malloc='yes' \
ac_cv_func_realloc_0_nonnull='yes' \
jm_cv_func_working_realloc='yes' \
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make

%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}

%Clean
rm -rf $RPM_BUILD_ROOT

%Files
%defattr(-,root,root)
%{pfx}/*






reply via email to

[Prev in Thread] Current Thread [Next in Thread]