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