Update to 4.2.1
PR: ports/170257 Submitted by: Joris Vandalon <joris@vandalon.nl> (maintainer)
This commit is contained in:
parent
2d4c5d3d79
commit
d20e22b19f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301877
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libunrar4
|
||||
PORTVERSION= 4.0.7
|
||||
PORTVERSION= 4.2.4
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://www.rarlab.com/rar/
|
||||
DISTNAME= unrarsrc-${PORTVERSION}
|
||||
@ -22,8 +22,8 @@ ALL_TARGET= lib
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so.3 ${PREFIX}/lib/
|
||||
cd ${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so ${PREFIX}/lib/libunrar.so.4
|
||||
cd ${PREFIX}/lib && ${LN} -sf libunrar.so.4 libunrar.so
|
||||
${MKDIR} ${PREFIX}/include/libunrar4
|
||||
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar4/dll.hpp
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (unrarsrc-4.0.7.tar.gz) = eac9ed7493870ca7f67b23e9208aef1db701c381123ac462e97f703777a33071
|
||||
SIZE (unrarsrc-4.0.7.tar.gz) = 152853
|
||||
SHA256 (unrarsrc-4.2.4.tar.gz) = 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
|
||||
SIZE (unrarsrc-4.2.4.tar.gz) = 164641
|
||||
|
@ -1,44 +0,0 @@
|
||||
--- makefile.unix.orig 2008-10-09 15:43:06.000000000 +0200
|
||||
+++ makefile.unix 2008-11-06 01:43:52.000000000 +0100
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
# Linux using GCC
|
||||
#CXX=g++
|
||||
-#CXXFLAGS=-O2
|
||||
-DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
+CXXFLAGS=$(CFLAGS) -fPIC -DPIC
|
||||
+DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DGUI -DSILENT
|
||||
STRIP=strip
|
||||
DESTDIR=/usr
|
||||
+RANLIB=ranlib
|
||||
|
||||
# Linux using LCC
|
||||
#CXX=lcc
|
||||
@@ -100,7 +101,7 @@
|
||||
WHAT=UNRAR
|
||||
|
||||
UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o
|
||||
-LIB_OBJ=filestr.o scantree.o dll.o
|
||||
+LIB_OBJ=dll.o
|
||||
|
||||
OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savepos.o global.o file.o filefn.o filcreat.o \
|
||||
archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o \
|
||||
@@ -131,9 +132,15 @@
|
||||
$(STRIP) default.sfx
|
||||
|
||||
lib: WHAT=RARDLL
|
||||
-lib: $(OBJECTS) $(LIB_OBJ)
|
||||
- @rm -f libunrar.so
|
||||
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
+lib: $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ)
|
||||
+ @rm -f libunrar.so.3
|
||||
+ $(LINK) -shared -o libunrar.so.3 $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ)
|
||||
+
|
||||
+liba: WHAT=RARDLL
|
||||
+liba: $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ)
|
||||
+ @rm -f libunrar.a
|
||||
+ $(AR) rc libunrar.a $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ)
|
||||
+ $(RANLIB) libunrar.a
|
||||
|
||||
install-unrar:
|
||||
install unrar $(DESTDIR)/bin
|
@ -1,4 +1,4 @@
|
||||
lib/libunrar.so
|
||||
lib/libunrar.so.3
|
||||
lib/libunrar.so.4
|
||||
include/libunrar4/dll.hpp
|
||||
@dirrm include/libunrar4
|
||||
|
Loading…
Reference in New Issue
Block a user