diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-30 15:58:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-30 15:58:35 +0000 |
commit | 9a0054683c954b4fa8d06a25b45fba1e37b438eb (patch) | |
tree | 75634bc6f15589d0f9b2433860f256fa5dd580ef /main | |
parent | c340575982f8fb8a186568c03569b374f1390698 (diff) | |
download | aports-9a0054683c954b4fa8d06a25b45fba1e37b438eb.tar.bz2 aports-9a0054683c954b4fa8d06a25b45fba1e37b438eb.tar.xz |
main/gptfdisk: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/gptfdisk/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD new file mode 100644 index 0000000000..eb7c730342 --- /dev/null +++ b/main/gptfdisk/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gptfdisk +pkgver=0.8.8 +pkgrel=0 +pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks" +arch="all" +url="http://www.rodsbooks.com/gdisk/" +license='GPL2' +makedepends="ncurses-dev e2fsprogs-dev popt-dev icu-dev" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/gptfdisk-$pkgver +build() { + cd "$_builddir" + make CXX="${CXX:-g++}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" +} + +package () { + cd "$_builddir" + install -d "$pkgdir"/usr/bin \ + "$pkgdir"/usr/share/man/man8 \ + || return 1 + + for i in gdisk cgdisk sgdisk fixparts; do + install $i "$pkgdir"/usr/bin/ || return 1 + install $i.8 "$pkgdir"/usr/share/man/man8/ || return 1 + done +} + +md5sums="bd47d03ec27bab5613254b5a20f72143 gptfdisk-0.8.8.tar.gz" +sha256sums="4c31e9c0e4802079526658947ab236d3b417604a8246a418f41cdc2a8ec2be9a gptfdisk-0.8.8.tar.gz" +sha512sums="22da28425ff06d2cca0838ff99950295c463d8557b0191efc74d4c9d819871ac635f69c62d07e93460ad07f4eb4c1ab4fd728b82374925f59783a52497a4becb gptfdisk-0.8.8.tar.gz" |