32 lines
816 B
Text
Executable file
32 lines
816 B
Text
Executable file
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"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
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="
|
|
3d3a59e3488dd3d6bda5d103b9ad8b7936752210346b9787ddc936681498fba90577b6ae950c471d09a01bf6405fce32038ff1777c52db0b21e5277737fe3703 gptfdisk-1.0.5.tar.gz
|
|
"
|