crux-ports

My CRUX Linux ports
Log | Files | Refs | README

Pkgfile (482B)


      1 # Description:	C library that implements the OTR protocol
      2 # URL:		https://otr.im/
      3 # Maintainer:	Shokara Kou, kou at 13f0 dot net
      4 # Depends on:	libgcrypt
      5 
      6 name=libotr
      7 version=4.1.1
      8 release=1
      9 source=(https://otr.im/dist/$name/$version/$name-$version.tar.gz)
     10 
     11 build() {
     12 	cd $name-$version
     13 
     14 	sed -i '/^#include <sys\/epoll.h>/a #include <sys/socket.h>' \
     15 		tests/regression/client/client.c
     16 
     17 	./configure \
     18 		--prefix=/usr
     19 
     20 	make
     21 	make DESTDIR=$PKG install
     22 
     23 	rm -fr $PKG/usr/share/doc
     24 }