mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:37:14 +08:00
Fixing bug FS#464.
This commit is contained in:
parent
616afaf775
commit
cad2accbdd
@ -6,28 +6,37 @@
|
|||||||
|
|
||||||
pkgname=progsreiserfs
|
pkgname=progsreiserfs
|
||||||
pkgver=0.3.0.5
|
pkgver=0.3.0.5
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="library for accessing and manipulating reiserfs partitions"
|
pkgdesc="library for accessing and manipulating reiserfs partitions"
|
||||||
arch=(i686 x86_64)
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.namesys.com"
|
url="http://www.namesys.com"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('e2fsprogs')
|
depends=('e2fsprogs')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=(#ftp://ftp.namesys.com/pub/libreiserfs/${pkgname}-${pkgver}.tar.gz
|
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
||||||
ftp://ftp.archlinux.org/other/progsreiserfs/${pkgname}-${pkgver}.tar.gz
|
'fix-underquoted-definition.patch')
|
||||||
)
|
md5sums=('d822579bbd4a29a1be5e4490869d9bee'
|
||||||
md5sums=('d822579bbd4a29a1be5e4490869d9bee')
|
'0ff24db039edbcc574f59075340b003a')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
./configure --prefix=/usr --mandir=/usr/share/man
|
|
||||||
make
|
patch -Np1 -i "${srcdir}/fix-underquoted-definition.patch"
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
make DESTDIR=${pkgdir} install
|
make install DESTDIR="${pkgdir}"
|
||||||
# only provide lib and includes files
|
|
||||||
# https://bugs.archlinux.org/task/22255
|
# only provide lib and includes files
|
||||||
rm -r ${pkgdir}/usr/sbin
|
# https://bugs.archlinux.org/task/22255
|
||||||
rm -r ${pkgdir}/usr/share/man/
|
rm -r "${pkgdir}/usr/sbin"
|
||||||
}
|
rm -r "${pkgdir}/usr/share/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
12
progsreiserfs/fix-underquoted-definition.patch
Normal file
12
progsreiserfs/fix-underquoted-definition.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur a/progsreiserfs.m4 b/progsreiserfs.m4
|
||||||
|
--- a/progsreiserfs.m4 2012-10-10 02:27:00.620967261 +0200
|
||||||
|
+++ b/progsreiserfs.m4 2012-10-10 02:27:14.490894176 +0200
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
dnl Adds the required libraries to $REISERFS_LIBS and does an
|
||||||
|
dnl AC_SUBST(REISERFS_LIBS)
|
||||||
|
|
||||||
|
-AC_DEFUN(AC_CHECK_LIBREISERFS,
|
||||||
|
+AC_DEFUN([AC_CHECK_LIBREISERFS],
|
||||||
|
[
|
||||||
|
|
||||||
|
dnl save LIBS
|
Loading…
Reference in New Issue
Block a user