libzen: fix build
This commit is contained in:
parent
8a11c1d53d
commit
8392904cce
2 changed files with 5 additions and 5 deletions
srcpkgs/libzen
|
@ -22,6 +22,7 @@ index 8e431b5..6a25aee 100644
|
|||
+
|
||||
target_include_directories(zen PUBLIC
|
||||
$<BUILD_INTERFACE:${ZenLib_SOURCES_PATH}>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>)
|
||||
|
||||
diff --git a/Project/GNU/Library/configure.ac b/Project/GNU/Library/configure.ac
|
||||
index c0ff266..62a1bf5 100644
|
||||
--- a/Project/GNU/Library/configure.ac
|
||||
|
|
|
@ -17,8 +17,7 @@ wrksrc=ZenLib
|
|||
build_wrksrc="Project/GNU/Library"
|
||||
|
||||
do_patch() {
|
||||
# applying via patches/ wasn't working great
|
||||
cd $XBPS_BUILDDIR/ZenLib
|
||||
cd $wrksrc
|
||||
patch -Np1 < $FILESDIR/proper-mt-fix.patch
|
||||
}
|
||||
|
||||
|
@ -29,18 +28,18 @@ pre_configure() {
|
|||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
install -dm 755 ${DESTDIR}/usr/include/ZenLib
|
||||
install -m 644 ${wrksrc}/ZenLib/Source/ZenLib/*.h \
|
||||
install -m 644 ${wrksrc}/Source/ZenLib/*.h \
|
||||
${DESTDIR}/usr/include/ZenLib
|
||||
for i in HTTP_Client Format/Html Format/Http; do
|
||||
install -dm0755 ${DESTDIR}/usr/include/ZenLib/$i
|
||||
install -m0644 ${wrksrc}/ZenLib/Source/ZenLib/$i/*.h \
|
||||
install -m0644 ${wrksrc}/Source/ZenLib/$i/*.h \
|
||||
${DESTDIR}/usr/include/ZenLib/$i
|
||||
done
|
||||
install -dm 755 ${DESTDIR}/usr/lib/pkgconfig
|
||||
install -m 644 libzen.pc ${DESTDIR}/usr/lib/pkgconfig
|
||||
sed -i -e 's|Version: |Version: '$version'|g' \
|
||||
${DESTDIR}/usr/lib/pkgconfig/libzen.pc
|
||||
vlicense ${wrksrc}/ZenLib/License.txt
|
||||
vlicense ${wrksrc}/License.txt
|
||||
}
|
||||
|
||||
libzen-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue