Added gptfdisk-0.7.2 build template.

This commit is contained in:
Juan RP 2011-07-10 23:10:38 +02:00
parent 445538646d
commit c06015e248

37
srcpkgs/gptfdisk/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'gptdisk'
pkgname=gptfdisk
version=0.7.2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="GPT fdisk text-mode partitioning tool"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.rodsbooks.com/gdisk/"
license="GPL-2"
checksum=d4dcdfdcbaf57ffb435b71a5a67b91d18bcf57e8e965c1324cc267012e2ea5c4
long_desc="
GPT fdisk (aka gdisk) is a text-mode partitioning tool for Intel-based Linux
that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks,
rather than on the more common (through 2009) Master Boot Record (MBR)
partition tables."
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run popt
Add_dependency run icu-libs
Add_dependency run libuuid
Add_dependency build popt-devel
Add_dependency build icu-devel
Add_dependency build libuuid-devel
do_build() {
make ${makejobs}
}
do_install() {
for f in gdisk sgdisk fixparts; do
vinstall ${f} 755 sbin
[ ! -r "${f}.8" ] && continue
vinstall ${f}.8 644 usr/share/man/man8
done
}