2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Bölüm oluşturma, yok etme, yeniden boyutlandırma, kontrol etme ve kopyalama için bir program
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.gnu.org/software/parted/index.shtml
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: lvm2
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=parted
|
|
|
|
|
version=3.2
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
|
|
|
|
http://www.linuxfromscratch.org/patches/blfs/svn/$name-$version-devmapper-1.patch)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -Np1 -i ../parted-3.2-devmapper-1.patch
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--disable-static
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
rm $PKG/usr/share/info/dir
|
|
|
|
|
make -C doc html
|
|
|
|
|
makeinfo --html -o doc/html doc/parted.texi
|
|
|
|
|
makeinfo --plaintext -o doc/parted.txt doc/parted.texi
|
|
|
|
|
|
|
|
|
|
install -v -m755 -d $PKG/usr/share/doc/parted-$version/html
|
|
|
|
|
install -v -m644 doc/html/* \
|
|
|
|
|
$PKG/usr/share/doc/parted-$version/html
|
|
|
|
|
install -v -m644 doc/{FAT,API,parted.{txt,html}} \
|
|
|
|
|
$PKG/usr/share/doc/parted-$version
|
|
|
|
|
}
|