crux-ports

My CRUX Linux ports
Log | Files | Refs | README

Pkgfile (471B)


      1 # Description:	cli program for getting/setting the contents of the X selection
      2 # URL:		http://www.kfish.org/software/xsel/
      3 # Maintainer:	Shokara Kou, kou at 13f0 dot net
      4 # Depends on:	xorg-libx11
      5 
      6 name=xsel
      7 version=1.2.0
      8 release=1
      9 source=(http://www.kfish.org/software/$name/download/$name-$version.tar.gz)
     10 
     11 build() {
     12 	cd $name-$version
     13 
     14 	CFLAGS=-Wno-error=stringop-truncation ./configure \
     15 		--prefix=/usr
     16 
     17 	make
     18 	make DESTDIR=$PKG install
     19 
     20 	rm -fr $PKG/usr/share/doc
     21 }