mng/mng.spec

changeset 774
9024b850a1f9
parent 255
36843f2b0be1
equal deleted inserted replaced
0:efa4fe3a03dc 1:661aeef093e8
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: BASE 31 Class: BASE
32 Group: Graphics 32 Group: Graphics
33 License: LGPL 33 License: LGPL
34 Version: 1.0.10 34 Version: 1.0.10
35 Release: 20080101 35 Release: 20101010
36 36
37 # list of sources 37 # list of sources
38 Source0: http://switch.dl.sourceforge.net/sourceforge/libmng/libmng-%{version}.tar.gz 38 Source0: http://switch.dl.sourceforge.net/sourceforge/libmng/libmng-%{version}.tar.gz
39 39
40 # build information 40 # build information
53 extension to the popular PNG image-format. 53 extension to the popular PNG image-format.
54 54
55 %track 55 %track
56 prog mng = { 56 prog mng = {
57 version = %{version} 57 version = %{version}
58 url = http://prdownloads.sourceforge.net/libmng/ 58 url = http://sourceforge.net/projects/libmng/files/
59 regex = libmng-(\d+\.\d+\.\d+)\.tar\.gz 59 regex = libmng-(\d+\.\d+\.\d+)\.tar\.gz
60 } 60 }
61 61
62 %prep 62 %prep
63 %setup -q -n libmng-%{version} 63 %setup -q -n libmng-%{version}
64 64
65 %build 65 %build
66 %{l_make} %{l_mflags -O} \ 66 %{l_make} %{l_mflags -O} \
67 -f makefiles/makefile.unix \ 67 -f makefiles/makefile.unix \
68 CC="%{l_cc}" \ 68 CC="%{l_cc}" \
69 CFLAGS="%{l_cflags -O} %{l_cppflags} -DMNG_FULL_CMS" 69 CFLAGS="%{l_cflags -O} %{l_cppflags} -DMNG_FULL_CMS \
70 -DMNG_SUPPORT_READ -DMNG_SUPPORT_WRITE -DMNG_SUPPORT_DISPLAY \
71 -DMNG_ACCESS_CHUNKS"
70 72
71 %install 73 %install
72 rm -rf $RPM_BUILD_ROOT 74 rm -rf $RPM_BUILD_ROOT
73 %{l_shtool} mkdir -f -p -m 755 \ 75 %{l_shtool} mkdir -f -p -m 755 \
74 $RPM_BUILD_ROOT%{l_prefix}/include \ 76 $RPM_BUILD_ROOT%{l_prefix}/include \

mercurial