diff options
author | Miguel Angel Useche Castro | 2018-03-13 08:47:30 -0400 |
---|---|---|
committer | Miguel Angel Useche Castro | 2018-03-13 08:47:30 -0400 |
commit | bdc8ed49b98b0830122f9c9ee4e3e502f6856204 (patch) | |
tree | dba0956570982aa1af668c0f7d3ada9b408dc2c9 | |
parent | 9d843efac0f8d9f2f7dbf5ae8ef0247ca77ef740 (diff) | |
download | aur-bdc8ed49b98b0830122f9c9ee4e3e502f6856204.tar.gz |
Adding library path to cmake
-rw-r--r-- | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = dcmtk pkgdesc = A collection of libraries and applications implementing large parts the DICOM standard pkgver = 3.6.3 - pkgrel = 1 + pkgrel = 2 url = http://dicom.offis.de/dcmtk arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=dcmtk pkgver=3.6.3 -pkgrel=1 +pkgrel=2 pkgdesc="A collection of libraries and applications implementing large parts the DICOM standard" arch=('i686' 'x86_64') url="http://dicom.offis.de/dcmtk" @@ -28,6 +28,8 @@ build() { cmake . \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_INSTALL_LIBDIR:PATH=lib \ + -DCMAKE_INSTALL_LIBEXECDIR:PATH=lib \ -DDCMTK_WITH_OPENSSL:BOOL=ON \ -DDCMTK_WITH_PNG:BOOL=ON \ -DDCMTK_WITH_PRIVATE_TAGS:BOOL=ON \ @@ -51,8 +53,8 @@ package() { find "${pkgdir}" -type f -empty -exec rm -v {} \; install -dm755 "${pkgdir}/usr/lib/" - + # Install ld config file install -dm755 "${pkgdir}/etc/ld.so.conf.d/" echo "/usr/lib/" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf" -}
\ No newline at end of file +} |