milis/talimatname/genel/parted/talimat

31 lines
904 B
Plaintext
Raw Normal View History

2017-04-06 15:18:45 +02:00
# Description: 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-04-06 15:18:45 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: lvm2
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
}