aboutsummaryrefslogtreecommitdiffstats
path: root/main/partimage/APKBUILD
blob: f298ca4320fe334f93fc4916412b040fb0612100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=partimage
pkgver=0.6.9
pkgrel=6
pkgdesc="Saves partitions having a supported filesystem to an image file"
url="http://www.partimage.org"
arch="all"
license="GPL"
depends=
makedepends="linux-headers bzip2-dev newt-dev zlib-dev gettext-dev slang-dev
	openssl-dev newt-dev autoconf automake libtool"
install=
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2
	partimage-0.6.9-zlib-1.2.6.patch
	partimage-0.6.9-common.patch
	Use-SSLv3-by-default.patch
	openssl-1.1.patch
	"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	export LIBS="$LIBS -lintl"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9  partimage-0.6.9.tar.bz2
f6feaf6967620ca5512aec50ada13e1b3676976ee2e04cebb3cd64c991ec8be47b337cd99c2656b3a1c77ce4ea25661784a8217f6d8325fd346f1d15463392ce  partimage-0.6.9-zlib-1.2.6.patch
39faba3b75302c0fb04e343b3854549c06447e28040f9c49a83d595533901e3c6af252a18d8db0394cbaabc7c9c1bde014f2d423cab80dadb6ea5322dc19a381  partimage-0.6.9-common.patch
580d9ef868b423fd77282839f619239f92789e202fc25cb2ee409ecc43424f89bd5d31314a6aba183ef36a61b427cb24a0ca1f62f53235b5bc60f574c5469a1b  Use-SSLv3-by-default.patch
bd1bc43bed6d6829ea8d15ff8b278807815de776c8f4fe1a86a1c3695dd3c8cadc155e5bcaf7f030ca8d0fac10ad3ad48a52a29cde15832511ae52fcc307edb6  openssl-1.1.patch"