mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 05:07:01 +02:00
New package: libnatpmp-20230423
This commit is contained in:
parent
9ec2155fe5
commit
392b392518
3 changed files with 36 additions and 0 deletions
|
@ -1092,6 +1092,7 @@ libORBit-2.so.0 libORBit2-2.14.19_1
|
|||
libORBit-imodule-2.so.0 libORBit2-2.14.19_1
|
||||
libORBitCosNaming-2.so.0 libORBit2-2.14.19_1
|
||||
libminiupnpc.so.17 miniupnpc-2.1_1
|
||||
libnatpmp.so.1 libnatpmp-20230423_1
|
||||
libxbps.so.5 libxbps-0.59.1_4
|
||||
libatf-c.so.1 atf-libs-0.21_1
|
||||
libatf-c++.so.2 atf-libs-0.21_1
|
||||
|
|
1
srcpkgs/libnatpmp-devel
Symbolic link
1
srcpkgs/libnatpmp-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libnatpmp
|
34
srcpkgs/libnatpmp/template
Normal file
34
srcpkgs/libnatpmp/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'libnatpmp'
|
||||
pkgname=libnatpmp
|
||||
version=20230423
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=y
|
||||
short_desc="Libraries for client side of NAT-PMP"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://miniupnp.free.fr/libnatpmp.html"
|
||||
changelog="http://miniupnp.free.fr/files/changelog.php?file=libnatpmp-${version}.tar.gz"
|
||||
distfiles="http://miniupnp.free.fr/files/libnatpmp-${version}.tar.gz"
|
||||
checksum=0684ed2c8406437e7519a1bd20ea83780db871b3a3a5d752311ba3e889dbfc70
|
||||
|
||||
post_patch() {
|
||||
sed -i '/^CC =/d' Makefile
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make install PREFIX=$DESTDIR
|
||||
vinstall natpmp_declspec.h 0644 usr/include
|
||||
vman natpmpc.1
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libnatpmp-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue