瀏覽代碼

upgrading package: swfmill 0.3.0 -> 0.3.2

Ralf S. Engelschall 14 年之前
父節點
當前提交
63b6a002a9
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      swfmill/swfmill.spec

+ 5 - 4
swfmill/swfmill.spec

@@ -31,8 +31,8 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Flash
 License:      GPL
-Version:      0.3.0
-Release:      20091202
+Version:      0.3.2
+Release:      20111107
 
 #   list of sources
 Source0:      http://swfmill.org/releases/swfmill-%{version}.tar.gz
@@ -62,12 +62,13 @@ PreReq:       jpeg, png, freetype, libxml, libxslt
 %build
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
-    CPPFLAGS="%{l_cppflags}" \
+    CPPFLAGS="%{l_cppflags libxslt .}" \
     LDFLAGS="%{l_ldflags}" \
     ./configure \
         --prefix=%{l_prefix} \
         --disable-shared
-    %{l_make} %{l_mflags -O}
+    ( cd src && %{l_make} %{l_mflags} xslt/simple.cpp ) || exit $?
+    %{l_make} %{l_mflags}
 
 %install
     %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"