mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
xfsprogs update for /lib cleaning
This commit is contained in:
parent
a8b83cd653
commit
f239cfb835
@ -1,33 +1,37 @@
|
||||
#
|
||||
# Chakra 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>
|
||||
# maintainer abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=xfsprogs
|
||||
pkgver=3.1.7
|
||||
pkgver=3.1.8
|
||||
pkgrel=1
|
||||
pkgdesc="XFS filesystem utilities"
|
||||
arch=(i686 x86_64)
|
||||
arch=('x86_64')
|
||||
license=('LGPL')
|
||||
url="http://oss.sgi.com/projects/xfs/"
|
||||
groups=('base')
|
||||
depends=('util-linux-ng>=2.16')
|
||||
depends=('util-linux')
|
||||
options=('!makeflags' '!libtool')
|
||||
source=("ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('049cf9873794ea49d0bb3f12d45748a4')
|
||||
source=("http://chakra-linux.org/sources/xfsprogs/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('f70b2e7200d4c29f0af1cf70e7be1db6')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
export OPTIMIZER="-march=${CARCH/_/-} -O1"
|
||||
export DEBUG=-DNDEBUG
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DIST_ROOT="${pkgdir}" install install-dev
|
||||
chown -R root $pkgdir
|
||||
chgrp -R root $pkgdir
|
||||
mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
|
||||
rm -rf "${pkgdir}/lib"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user