mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
33 lines
945 B
Bash
33 lines
945 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=reiserfsprogs
|
|
pkgver=3.6.21
|
|
pkgrel=4
|
|
pkgdesc="Reiserfs utilities"
|
|
arch=(i686 x86_64)
|
|
url=http://www.kernel.org/pub/linux/utils/fs/reiserfs/README
|
|
license=('GPL')
|
|
groups=('base')
|
|
depends=('util-linux-ng>=2.16')
|
|
source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-${pkgver}.tar.bz2)
|
|
md5sums=('0639cefac8f8150536cfa7531c2aa2d2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sbindir=/sbin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
ln -s reiserfsck "${pkgdir}/sbin/fsck.reiserfs"
|
|
ln -s mkreiserfs "${pkgdir}/sbin/mkfs.reiserfs"
|
|
ln -s reiserfsck "${pkgdir}/sbin/fsck.reiser"
|
|
ln -s mkreiserfs "${pkgdir}/sbin/mkfs.reiser"
|
|
}
|