[packages/aegisub] clean (most of) vendors

glen glen at pld-linux.org
Sun Aug 31 20:22:27 CEST 2014


commit fc87a4b8585ad994fdf41b60431bcc051750ae32
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 31 21:22:22 2014 +0300

    clean (most of) vendors

 aegisub.spec | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/aegisub.spec b/aegisub.spec
index 357579f..a4f51ee 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -1,6 +1,7 @@
 # TODO
-# - needs wx-config to build with wxWidgets
-# - system luajit
+# - unvendor vendor/luabins
+# - unvendor vendor/luajit
+# - unvendor vendor/universalchardet
 # - our cxxflags
 
 # Conditional build:
@@ -52,6 +53,10 @@ support using these advanced functions with ease.
 %prep
 %setup -q
 
+mv vendor{,.keep}
+mkdir vendor
+mv vendor.keep/{luabins,luajit,universalchardet} vendor
+
 %build
 %configure \
 	--with-player-audio=PulseAudio \
@@ -63,7 +68,8 @@ support using these advanced functions with ease.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%make_install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}-32
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aegisub.git/commitdiff/fc87a4b8585ad994fdf41b60431bcc051750ae32



More information about the pld-cvs-commit mailing list