fernpass / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

support DESTDIR #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I creating RPM package for Mandriva Linux and took patch "configure" and 
"Makefile" for supporting DESTDIR (and x64 arch)
May be apply some patch?

 * unimrcp

perl -pi -w -e 's/lib\/pkgconfig/pkgconfig/g' configure
perl -pi -w -e 
's/^confdir=([\W])\$\{prefix\}/confdir=$1\$\(DESTDIR\)\$\{prefix\}/g' configure
perl -pi -w -e 
's/^logdir=([\W])\$\{prefix\}/logdir=$1\$\(DESTDIR\)\$\{prefix\}/g' configure
perl -pi -w -e 
's/^datadir=([\W])\$\{prefix\}/datadir=$1\$\(DESTDIR\)\$\{prefix\}/g' configure

 * asterisk-unimrcp

perl -pi -w -e 's/lib\/pkgconfig/pkgconfig/g' configure
perl -pi -w -e 's/UNIMRCP_DIR_LOCATION \"\$unimrcp_dir\"/UNIMRCP_DIR_LOCATION 
\"\/etc\/unimrcp\"/g' configure
perl -pi -w -e 
's/\$\(asterisk_conf_dir\)/\$\(DESTDIR\)\$\(asterisk_conf_dir\)/g' Makefile.in

Original issue reported on code.google.com by zami...@gmail.com on 13 Feb 2011 at 12:01

GoogleCodeExporter commented 8 years ago

Original comment by achalo...@gmail.com on 7 Mar 2013 at 8:43

GoogleCodeExporter commented 8 years ago
Support for DESTDIR has been added to both UniMRCP in r2004 and 
Asterisk-UniMRCP in r2006.

Original comment by achalo...@gmail.com on 26 Sep 2013 at 9:09