2006-02-23 15:26:10 +00:00
|
|
|
# Description: Extracts RAR archives
|
2021-01-29 12:15:46 +00:00
|
|
|
# URL: https://www.rarlab.com/rar_add.htm
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=unrar
|
2023-09-20 17:25:03 +02:00
|
|
|
version=6.2.11
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2020-07-11 16:37:34 +10:00
|
|
|
source=(https://www.rarlab.com/rar/${name}src-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2021-01-29 12:15:46 +00:00
|
|
|
cd $name
|
2022-05-08 18:43:33 +02:00
|
|
|
sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i makefile
|
|
|
|
export LDFLAGS+=' -pthread'
|
|
|
|
make -j1 STRIP=:
|
2021-01-29 12:15:46 +00:00
|
|
|
make install DESTDIR=$PKG/usr
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|