2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Libguestfs, sanal makine (VM) disk görüntülerine erişmek ve değiştirmek için kullanılan bir takım araçtır
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://libguestfs.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: ocaml ocaml-findlib python ruby lua cdrkit qemu augeas libxml2 pcre db systemtap fuse gdisk bash-completion libconfig
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=libguestfs
|
|
|
|
|
surum=1.30.4
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://$isim.org/download/1.30-stable/$isim-$surum.tar.gz
|
2016-02-24 01:27:23 +01:00
|
|
|
|
http://libguestfs.org/download/binaries/appliance/appliance-1.30.1.tar.xz)
|
|
|
|
|
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
export LIBTINFO_CFLAGS="-D_GNU_SOURCE"
|
|
|
|
|
export LIBTINFO_LIBS="-lncursesw"
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--mandir=/usr/man \
|
|
|
|
|
--sysconfdir=/etc/ \
|
|
|
|
|
--disable-ocaml \
|
|
|
|
|
--disable-haskell \
|
|
|
|
|
--disable-php \
|
|
|
|
|
--disable-erlang \
|
|
|
|
|
--enable-threads=posix \
|
|
|
|
|
--disable-appliance \
|
|
|
|
|
--disable-daemon
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
cd appliance
|
|
|
|
|
|
|
|
|
|
install -m 755 -d $PKG/usr/lib/guestfs/appliance
|
|
|
|
|
cp -v kernel $PKG/usr/lib/guestfs/appliance/
|
|
|
|
|
cp -v initrd $PKG/usr/lib/guestfs/appliance/initrd
|
|
|
|
|
cp -v root $PKG/usr/lib/guestfs/appliance/root
|
|
|
|
|
cp -v README.fixed $PKG/usr/lib/guestfs/appliance/README.fixed
|
|
|
|
|
|
|
|
|
|
}
|