2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for ReiserFS
|
2021-12-14 10:39:35 +01:00
|
|
|
# URL: https://en.wikipedia.org/wiki/ReiserFS
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: e2fsprogs
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=reiserfsprogs
|
2017-10-08 12:14:53 +02:00
|
|
|
version=3.6.27
|
2019-01-17 09:55:33 +01:00
|
|
|
release=2
|
|
|
|
source=(https://www.kernel.org/pub/linux/kernel/people/jeffm/$name/v$version/$name-$version.tar.xz
|
2021-12-14 10:39:35 +01:00
|
|
|
$name-$version-loff_t.patch)
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
build () {
|
2021-12-14 10:39:35 +01:00
|
|
|
cd $name-$version
|
2017-03-29 10:01:32 +02:00
|
|
|
|
2021-12-14 10:39:35 +01:00
|
|
|
#fix build with glibc 2.28
|
|
|
|
patch -p1 -i $SRC/$name-$version-loff_t.patch
|
|
|
|
autoreconf -i
|
2019-01-17 09:55:33 +01:00
|
|
|
|
2021-12-14 10:39:35 +01:00
|
|
|
./configure --prefix=/usr --sbindir=/sbin
|
2017-03-29 10:01:32 +02:00
|
|
|
|
2021-12-14 10:39:35 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2017-03-29 10:01:32 +02:00
|
|
|
|
2021-12-14 10:39:35 +01:00
|
|
|
install -d $PKG/lib
|
|
|
|
mv $PKG/usr/lib/libreiserfscore.so.* $PKG/lib
|
|
|
|
ln -sf ../../lib/$(readlink $PKG/usr/lib/libreiserfscore.so) $PKG/usr/lib/libreiserfscore.so
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|