blob: 96896cf61cefc53265b8a4d3c37c326ebdc61ede (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=partimage
pkgver=0.6.8
pkgrel=0
pkgdesc="Saves partitions having a supported filesystem to an image file"
url="http://www.partimage.org"
arch="all"
license="GPL"
depends=
makedepends="bzip2-dev newt-dev zlib-dev gettext-dev slang-dev openssl-dev \
newt-dev autoconf"
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2
partimage-0.6.8-gcc44.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 -i $srcdir/$pkgname-0.6.8-gcc44.patch || return 1
}
build() {
cd "$_builddir"
export LIBS="$LIBS -lintl"
autoconf && automake
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="c13c8ede8cdf7745b97ec5827920ece7 partimage-0.6.8.tar.bz2
a6430cf98c8f236c41dd3addcde1fcb8 partimage-0.6.8-gcc44.patch"
|