ucl: add pc file
This commit is contained in:
parent
1bcfe9b2b8
commit
e2a9d7d6ce
@ -10,3 +10,5 @@ drwxr-xr-x root/root usr/lib/
|
|||||||
lrwxrwxrwx root/root usr/lib/libucl.so -> libucl.so.1.0.0
|
lrwxrwxrwx root/root usr/lib/libucl.so -> libucl.so.1.0.0
|
||||||
lrwxrwxrwx root/root usr/lib/libucl.so.1 -> libucl.so.1.0.0
|
lrwxrwxrwx root/root usr/lib/libucl.so.1 -> libucl.so.1.0.0
|
||||||
-rwxr-xr-x root/root usr/lib/libucl.so.1.0.0
|
-rwxr-xr-x root/root usr/lib/libucl.so.1.0.0
|
||||||
|
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||||
|
-rw-r--r-- root/root usr/lib/pkgconfig/ucl.pc
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3xiLe7ZNgEbdVpj4L85hRD622LUQNb66Ib6is+8/2ORUJTZ3tOHbMWaG3nvF045kaHgzJ0wBT7ShrRlVLCj0Gw0=
|
RWSagIOpLGJF3/bBFFqFtnatEkT0rLUk4ORTlhfSeABmUrfRAFWsrdyvMgNdW+NYGvATAZL7O406vsbwMupGfSUC59qSITAiFg4=
|
||||||
SHA256 (Pkgfile) = 5e2aad4b394de0c348dc53afd22293bbfeaa9d49b92bc9c6bd099fbd5a964311
|
SHA256 (Pkgfile) = 14f315f1fd2ff563f9fa2206036653db56eefe144e74d38941a9c69dacee0145
|
||||||
SHA256 (.footprint) = af844c18c836ac347a23092b1f276941a988205e5cccbd508404ad789e4b2408
|
SHA256 (.footprint) = 78702059aacbbc0602f0298dcc448fd1498ec75756c70ec02e7721e090e00936
|
||||||
SHA256 (ucl-1.03.tar.gz) = b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348
|
SHA256 (ucl-1.03.tar.gz) = b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348
|
||||||
|
SHA256 (ucl.pc.in) = 668f47e7fdfa75d6c3b06542d89d2b368131ccbcef5f94174ad3af89eb95ae4a
|
||||||
|
12
ucl/Pkgfile
12
ucl/Pkgfile
@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
name=ucl
|
name=ucl
|
||||||
version=1.03
|
version=1.03
|
||||||
release=2
|
release=3
|
||||||
source=(http://www.oberhumer.com/opensource/ucl/download/ucl-$version.tar.gz)
|
source=(http://www.oberhumer.com/opensource/ucl/download/ucl-$version.tar.gz
|
||||||
|
ucl.pc.in)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ucl-$version
|
cd ucl-$version
|
||||||
@ -15,9 +16,12 @@ build() {
|
|||||||
CFLAGS+=" -std=gnu90 -fPIC"
|
CFLAGS+=" -std=gnu90 -fPIC"
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-shared
|
--enable-shared \
|
||||||
|
--enable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
make prefix=$PKG/usr install
|
make prefix=$PKG/usr install
|
||||||
}
|
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/lib/pkgconfig/
|
||||||
|
sed "s|@VERSION@|$version|" $SRC/ucl.pc.in > $PKG/usr/lib/pkgconfig/ucl.pc
|
||||||
|
}
|
||||||
|
7
ucl/ucl.pc.in
Normal file
7
ucl/ucl.pc.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
prefix=/usr
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: ucl
|
||||||
|
Description: Portable lossless data compression library written in ANSI C
|
||||||
|
Version: @VERSION@
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user