mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
34 lines
951 B
Bash
34 lines
951 B
Bash
#
|
|
# 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>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=parted
|
|
pkgver=2.3
|
|
pkgrel=1
|
|
pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL3')
|
|
url="http://www.gnu.org/software/parted/parted.html"
|
|
depends=('device-mapper' 'e2fsprogs')
|
|
options=('!libtool')
|
|
install=parted.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/parted/parted-${pkgver}.tar.gz)
|
|
md5sums=('30ceb6df7e8681891e865e2fe5a7903d')
|
|
|
|
build() {
|
|
cd "${srcdir}/parted-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-debug \
|
|
--disable-rpath \
|
|
--disable-Werror || return 1
|
|
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|