35 lines
878 B
Text
35 lines
878 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=gptfdisk
|
|
version=1.0.5
|
|
build=1sml
|
|
homepage="http://sourceforge.net/projects/gptfdisk/"
|
|
download="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$version/gptfdisk-$version.tar.gz"
|
|
desc="GPT fdisk utilities"
|
|
requires="gcc-libs netbsd-curses popt util-linux"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
sed -i '/^#include /s|ncursesw/||' gptcurses.cc
|
|
make
|
|
|
|
for f in cgdisk gdisk sgdisk fixparts ; do
|
|
install -Dm 755 $f $pkg/bin/$f
|
|
install -Dm 644 $f.8 $pkg/share/man/man8/$f.8
|
|
done
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
2e0ff7321c8083073b08abc49d8d22b14384c3bd80ed8c02f59a6a1ca77ac75623fed6b7c4c476fb6d54cb7f68af4e1c7b0bdd7592760d913c4d52580e394b05 gptfdisk-1.0.5.tar.lz
|
|
"
|