2010-01-25 17:12:59 +01:00
|
|
|
# Template file for 'parted'
|
|
|
|
pkgname=parted
|
2014-08-02 17:47:39 +02:00
|
|
|
version=3.2
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-27 14:54:19 +01:00
|
|
|
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel>=6.3 device-mapper-devel"
|
2010-01-25 17:12:59 +01:00
|
|
|
short_desc="The GNU Parted disk partition resizing program"
|
2011-05-26 10:52:41 +02:00
|
|
|
homepage="http://www.gnu.org/software/parted/"
|
2012-03-20 07:53:27 +01:00
|
|
|
license="GPL-3"
|
2010-01-25 17:12:59 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 11:05:24 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
|
2014-08-02 17:47:39 +02:00
|
|
|
checksum=858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
|
2014-02-27 16:04:32 +01:00
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
libparted_package() {
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
2014-02-21 17:11:05 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 11:13:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libparted-devel_package() {
|
2014-02-21 17:11:05 +01:00
|
|
|
depends="libparted>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:13:30 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 17:11:05 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 11:13:30 +02:00
|
|
|
}
|
|
|
|
}
|