bzip2-devel: add pkgconfig file
This commit is contained in:
parent
c8a93c8fb1
commit
1782b7de4c
|
@ -0,0 +1,11 @@
|
|||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
bindir=${exec_prefix}/bin
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: bzip2
|
||||
Description: A file compression library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lbz2
|
||||
Cflags: -I${includedir}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bzip2'
|
||||
pkgname=bzip2
|
||||
version=1.0.8
|
||||
revision=1
|
||||
revision=2
|
||||
bootstrap=yes
|
||||
short_desc="Freely available, patent free, high-quality data compressor"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -35,6 +35,9 @@ do_install() {
|
|||
vinstall libbz2.a 644 usr/lib
|
||||
vinstall bzlib.h 644 usr/include
|
||||
|
||||
vinstall "${FILESDIR}/bzip2.pc" 644 usr/lib/pkgconfig
|
||||
vsed -i "s/@VERSION@/${version}/" "${DESTDIR}/usr/lib/pkgconfig/bzip2.pc"
|
||||
|
||||
vman bzip2.1
|
||||
ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bunzip2.1
|
||||
ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bzcat.1
|
||||
|
@ -46,6 +49,7 @@ bzip2-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue