blob: 0d85d17b53e805c1c21c0dfd10bdffcafa0154ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{
"name": "attr",
"kind": "chunk",
"comments": [
"The DESTDIR patch idea comes from: http://pkgs.fedoraproject.org/gitweb/?p=attr.git;a=blob_plain;f=attr-2.4.32-build.patch"
],
"configure-commands": [
"sed -i -e 's,PKG_\\(.*\\)_DIR\\t= ,PKG_\\1_DIR\\t= \\$(DESTDIR),g' include/builddefs.in",
"sed -i -e 's,\\$\\$LOCAL_CONFIGURE_OPTIONS,\\$(LOCAL_CONFIGURE_OPTIONS),g' Makefile",
"make LOCAL_CONFIGURE_OPTIONS=\"--prefix=/usr --exec-prefix=/usr --sbindir=/usr/sbin --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --enable-lib64=yes --includedir=/usr/include --mandir=/usr/share/man --datadir=/usr/share\" configure"
],
"build-commands": [
"make"
],
"install-commands": [
"make DESTDIR=\"$DESTDIR\" install-lib"
]
}
|