Permalink
Newer
100755
53 lines (36 sloc)
1 KB
5
# SRCURL[0]="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-${PKGVERSION}.tar.xz"
6
SRCURL[0]="https://beehive.molgen.mpg.de/086f7582875b14c17522867ffe3e202b/xfsdump-3.1.9.tar.xz"
7
8
# PATCHURL+=()
9
10
build_in_sourcedir
11
12
# sourcesubdir_append src
13
14
15
16
#mee_extract() {
17
# bee_extract "${@}"
18
#}
19
20
#mee_patch() {
21
# bee_patch "${@}"
22
#}
23
24
#mee_configure() {
25
# bee_configure
26
#}
27
28
#mee_configure() {
29
# bee_configure
30
#}
31
32
#mee_build() {
33
# bee_build
34
#}
35
36
#mee_install() {
37
# bee_install
38
#}
39
## by default this may be 'make install DESTDIR="${D}"'
40
41
# xfsdumps' configure is *realy* obstinate in installing to /sbin if the prefix
42
# is set to /usr. The kludge here puts it straight, so it fits in our layout again.
43
44
mee_install_post() {
45
install_post_toggle_symlink /usr/sbin/xfsdump /sbin/xfsdump
46
install_post_toggle_symlink /usr/sbin/xfsrestore /sbin/xfsrestore
47
}
48
49
install_post_toggle_symlink() {
50
start_cmd mv -v ${D}$2 ${D}$1
51
start_cmd ln -vsT $1 ${D}$2
52
}
53