diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
commit | 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch) | |
tree | da8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/attr.morph | |
parent | 10dda889872542b8f261555c139791ff34eec9b1 (diff) | |
download | definitions-0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5.tar.gz |
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/attr.morph')
-rw-r--r-- | chunks/attr.morph | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chunks/attr.morph b/chunks/attr.morph new file mode 100644 index 00000000..93c5e935 --- /dev/null +++ b/chunks/attr.morph @@ -0,0 +1,16 @@ +name: attr +kind: chunk +repo: upstream:attr +ref: be4a3c1d50981d2cbbe2cfb55498cac51909c37f +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 SHELL=/bin/bash +install-commands: +- make SHELL=/bin/bash DESTDIR="$DESTDIR" install-lib install-dev +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' |