New package: crossguid-0.0.20160317
This commit is contained in:
parent
29441b6f8d
commit
4f78055631
25
srcpkgs/crossguid/template
Normal file
25
srcpkgs/crossguid/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'crossguid'
|
||||
pkgname=crossguid
|
||||
version=0.0.20160317
|
||||
revision=1
|
||||
_githash="8f399e8bd4252be9952f3dfa8199924cc8487ca4"
|
||||
_gitshort="${_githash:0:7}"
|
||||
short_desc="Lightweight cross platform C++ GUID/UUID library (git $_gitshort)"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="https://github.com/graeme-hill/crossguid"
|
||||
distfiles="$homepage/archive/$_githash.tar.gz"
|
||||
makedepends="libuuid-devel"
|
||||
checksum=022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99
|
||||
wrksrc=$pkgname-$_githash
|
||||
|
||||
do_build() {
|
||||
$CXX -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
|
||||
ar rvs libcrossguid.a guid.o
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vlicense LICENSE
|
||||
vinstall libcrossguid.a 644 usr/lib
|
||||
vinstall guid.h 644 usr/include
|
||||
}
|
Loading…
Reference in New Issue
Block a user