forked from ports/contrib
libnids: fix source, install manual and shared library
This commit is contained in:
parent
a8c2653f97
commit
e288a6c82a
@ -3,3 +3,10 @@ drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/nids.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libnids.a
|
||||
lrwxrwxrwx root/root usr/lib/libnids.so -> libnids.so.1.24
|
||||
lrwxrwxrwx root/root usr/lib/libnids.so.1 -> libnids.so.1.24
|
||||
-rwxr-xr-x root/root usr/lib/libnids.so.1.24
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/libnids.3.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38SLaEXAsuln5h+GZ+YKxNI9YgUSywivhQli4ktJfIPWftB9Pb9t/xr+HAKrtsCbpELhTXe6HFMJYjOYwGBXWww=
|
||||
SHA256 (Pkgfile) = 5a3335b0c221c10943a07cea66d6376c4a13f11b7859f5ee5726070d3dac9b65
|
||||
SHA256 (.footprint) = d2e39b3b0a3279b7b56ae41704f9d9e340ae10913913cf70c363584879a0d85f
|
||||
RWSagIOpLGJF30wFRwf4M9BsgcQ5JU+YUjDTZXpKSAeRlMp27onsLSjfoQPkI9DTvN84MA0sdoAefA4hQHVrrxSwJxdUAHK2lA4=
|
||||
SHA256 (Pkgfile) = 9a729a1ab15b9956a6bd60ded0844ee478d31b634be841eab503683779b7ffa0
|
||||
SHA256 (.footprint) = 42b9c8ab45c73b3b70d0dc2bab71db5efd818a4dbad22f484e23f913e490e4ce
|
||||
SHA256 (libnids-1.24.tar.gz) = 314b4793e0902fbf1fdb7fb659af37a3c1306ed1aad5d1c84de6c931b351d359
|
||||
|
@ -5,13 +5,18 @@
|
||||
|
||||
name=libnids
|
||||
version=1.24
|
||||
release=1
|
||||
source=(http://download.sourceforge.net/libnids/$name-$version.tar.gz)
|
||||
release=2
|
||||
source=(https://sourceforge.net/projects/$name/files/$name/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
install -m 644 -D src/libnids.a $PKG/usr/lib/libnids.a
|
||||
install -m 644 -D src/nids.h $PKG/usr/include/nids.h
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--man=/usr/share/man \
|
||||
--enable-shared
|
||||
|
||||
make
|
||||
make install_prefix="$PKG" install
|
||||
ln -s libnids.so.1.24 $PKG/usr/lib/libnids.so.1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user