tar -xf unrarsrc-4.2.4.tar.gz
patching file makefile.unix
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rar.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c strlist.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c strfn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c pathfn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c savepos.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c smallfn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c global.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c file.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c filefn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c filcreat.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c archive.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c arcread.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c unicode.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c system.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c isnt.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c crypt.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c crc.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rawread.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c encname.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c resource.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c match.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c timefn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rdwrfn.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c consio.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c options.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c ulinks.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c errhnd.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rarvm.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c secpassword.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rijndael.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c getbits.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c sha1.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c extinfo.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c extract.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c volume.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c list.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c find.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c unpack.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c cmddata.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c filestr.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c recvol.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c rs.cpp
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c scantree.cpp
g++ -o unrar  rar.o strlist.o strfn.o pathfn.o savepos.o smallfn.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 resource.o match.o timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o filestr.o recvol.o rs.o scantree.o 	
strip unrar
g++  -fPIC -O2 -march=armv5te -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRARDLL -c dll.cpp
g++ -shared -Wl,-soname,libunrar.so.4.2.4 -o libunrar.so.4.2.4  rar.o strlist.o strfn.o pathfn.o savepos.o smallfn.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 resource.o match.o timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o filestr.o scantree.o dll.o
/builds/salix/arm/14.0/original/ap/unrar/pkg:
total 8
drwxr-xr-x 2 root root 4096 Dec 24 18:31 install
drwxr-xr-x 7 root root 4096 Dec 24 18:31 usr

/builds/salix/arm/14.0/original/ap/unrar/pkg/install:
total 4
-rw-r--r-- 1 root root 174 Dec 24 18:31 slack-desc

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr:
total 20
drwxr-xr-x 2 root root 4096 Dec 24 18:31 bin
drwxr-xr-x 3 root root 4096 Dec 24 18:31 doc
drwxr-xr-x 2 root root 4096 Dec 24 18:31 lib
drwxr-xr-x 3 root root 4096 Dec 24 18:31 man
drwxr-xr-x 3 root root 4096 Dec 24 18:29 src

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/bin:
total 176
-rwxr-xr-x 1 root root 179464 Dec 24 18:31 unrar

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/doc:
total 4
drwxr-xr-x 2 root root 4096 Dec 24 18:31 unrar-4.2.4

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/doc/unrar-4.2.4:
total 8
-rw-r--r-- 1 root root 1976 Dec 24 18:31 license.txt
-rw-r--r-- 1 root root 2516 Dec 24 18:31 readme.txt

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/lib:
total 212
lrwxrwxrwx 1 root root     17 Dec 24 18:31 libunrar.so -> libunrar.so.4.2.4
lrwxrwxrwx 1 root root     17 Dec 24 18:31 libunrar.so.4 -> libunrar.so.4.2.4
lrwxrwxrwx 1 root root     17 Dec 24 18:31 libunrar.so.4.2 -> libunrar.so.4.2.4
-rwxr-xr-x 1 root root 216316 Dec 24 18:31 libunrar.so.4.2.4

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/man:
total 4
drwxr-xr-x 2 root root 4096 Dec 24 18:31 man1

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/man/man1:
total 4
-rw-r--r-- 1 root root 873 Dec 24 18:31 unrar.1.gz

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/src:
total 4
drwxr-xr-x 2 root root 4096 Dec 24 18:31 unrar-4.2.4

/builds/salix/arm/14.0/original/ap/unrar/pkg/usr/src/unrar-4.2.4:
total 4
-rw-r--r-- 1 root root 1205 Dec 24 18:31 SLKBUILD

Slackware package maker, version 3.14159.

Searching for symbolic links:
usr/lib/libunrar.so -> libunrar.so.4.2.4
usr/lib/libunrar.so.4 -> libunrar.so.4.2.4
usr/lib/libunrar.so.4.2 -> libunrar.so.4.2.4

Making symbolic link creation script:
( cd usr/lib ; rm -rf libunrar.so )
( cd usr/lib ; ln -sf libunrar.so.4.2.4 libunrar.so )
( cd usr/lib ; rm -rf libunrar.so.4 )
( cd usr/lib ; ln -sf libunrar.so.4.2.4 libunrar.so.4 )
( cd usr/lib ; rm -rf libunrar.so.4.2 )
( cd usr/lib ; ln -sf libunrar.so.4.2.4 libunrar.so.4.2 )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed './usr/lib/libunrar.so'
removed './usr/lib/libunrar.so.4'
removed './usr/lib/libunrar.so.4.2'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /builds/salix/arm/14.0/original/ap/unrar/unrar-4.2.4-arm-1rl.txz

./
usr/
usr/src/
usr/src/unrar-4.2.4/
usr/src/unrar-4.2.4/SLKBUILD
usr/bin/
usr/bin/unrar
usr/lib/
usr/lib/libunrar.so.4.2.4
usr/man/
usr/man/man1/
usr/man/man1/unrar.1.gz
usr/doc/
usr/doc/unrar-4.2.4/
usr/doc/unrar-4.2.4/readme.txt
usr/doc/unrar-4.2.4/license.txt
install/
install/slack-desc
install/doinst.sh

Slackware package /builds/salix/arm/14.0/original/ap/unrar/unrar-4.2.4-arm-1rl.txz created.

Package has been built.
Cleaning pkg and src directories