Pārlūkot izejas kodu

upgrading package: crm114 20030701 -> 20030920

Ralf S. Engelschall 22 gadi atpakaļ
vecāks
revīzija
46f6986ef0
1 mainītis faili ar 14 papildinājumiem un 3 dzēšanām
  1. 14 3
      crm114/crm114.spec

+ 14 - 3
crm114/crm114.spec

@@ -24,8 +24,9 @@
 ##
 
 #   package version
-%define       V_dist 2003-07-01-alpha
-%define       V_opkg 20030701
+%define       V_dist 2003-09-20-Beta.src
+%define       V_opkg 20030920
+%define       V_tre  0.5.3
 
 #   package information
 Name:         crm114
@@ -37,7 +38,7 @@ Distribution: OpenPKG [PLUS]
 Group:        Text
 License:      GPL
 Version:      %{V_opkg}
-Release:      20030704
+Release:      20030922
 
 #   list of sources
 Source0:      http://crm114.sourceforge.net/crm114-%{V_dist}.tar.gz
@@ -64,6 +65,16 @@ AutoReqProv:  no
     %setup -q -n crm114-%{V_dist}
 
 %build
+    ( cd tre-%{V_tre}
+      CC="%{l_cc}" \
+      CFLAGS="%{l_cflags -O}" \
+      ./configure \
+          --disable-shared
+      %{l_make} %{l_mflags -O}
+    ) || exit $?
+    %{l_shtool} subst \
+        -e 's;-ltre;-Ltre-%{V_tre}/lib/.libs -ltre;' \
+        Makefile
     %{l_make} %{l_mflags} \
         CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
     cat intro.txt quickref.txt faq.txt >crm114.1