python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / kpartx / template
blobc94805d0a74d7a018de4f4cdefb1680adc92aaa7
1 # Template file for 'kpartx'
2 pkgname=kpartx
3 version=0.5.0
4 revision=3
5 wrksrc=multipath-tools-${version}
6 build_wrksrc=$pkgname
7 build_style=gnu-makefile
8 make_install_args="libudevdir=/usr/lib/udev bindir=/usr/bin"
9 CFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE"
10 LDFLAGS="-ldevmapper"
11 makedepends="device-mapper-devel"
12 short_desc="Create device maps from partition tables"
13 maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
14 license="GPL-2"
15 homepage="http://christophe.varoqui.free.fr/"
16 distfiles="http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-${version}.tar.bz2"
17 checksum=f13cf1eb84e94e83b2019e68f7965526903c13e94246db43965d181668a0a6f9
19 post_extract() {
20         sed -i 's/daddr_t/uint32_t/g' kpartx/solaris.c
21         sed -i 's,<sysmacros.h>,<sys/sysmacros.h>,g' kpartx/lopart.c