Skip to content

Instantly share code, notes, and snippets.

@weavenet
Created January 12, 2012 22:07
Show Gist options
  • Save weavenet/1603442 to your computer and use it in GitHub Desktop.
Save weavenet/1603442 to your computer and use it in GitHub Desktop.
Build Libevent RPM using FPM
yum -y install rpm-build
wget http://monkey.org/~provos/libevent-1.3e.tar.gz
tar zxpfv libevent*
cd libevent* ; ./configure; make ; make install DESTDIR=/tmp/intu-rhel5-libevent-1.3e
fpm --prefix=/ -s dir -t rpm -n intu-libevent -v 1.3e -C /tmp/intu-rhel5-libevent-1.3e -p /tmp/intu-rhel5-libevent-1.3e.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment