20 lines
480 B
Plaintext
20 lines
480 B
Plaintext
|
# Description: Contains a very portable POSIX/ANSI-C based library for Unix platforms
|
||
|
# URL: http://www.gnu.org/software/pth/
|
||
|
# Packager: pierre at nutyx dot org
|
||
|
# Depends on:
|
||
|
name=pth
|
||
|
version=2.0.7
|
||
|
release=1
|
||
|
|
||
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in
|
||
|
./configure --prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--disable-static
|
||
|
make
|
||
|
make -j1 DESTDIR=$PKG install
|
||
|
}
|