volume_key: fixed build on systems that have problems including Python.h
This commit is contained in:
parent
7e80964d90
commit
827dd4002d
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF35U68ykEBqWZSl9YldFGg5cm6bzDe42casbdS8E9BgImK4HUb55hB+iMjgIwsgzGAJMEbeq5gxx4IfOZ2hqwPgg=
|
RWSagIOpLGJF32f073f1UqGW3E3YjGjFUTLYvEqjewzXFrU4EkjBD7I9O7i/pkEBLzg9Au82QccurFD9t23bMIXEgDD8MMKbGAc=
|
||||||
SHA256 (Pkgfile) = c397ee5c25b0334cb4e21fd6e9944f3670fefa709805dcc6f6982c47e80f5c5d
|
SHA256 (Pkgfile) = 4ff98a4fe551dcc34dadf0c97eb6821c94e08a0443821c8ae59d249b34f4f198
|
||||||
SHA256 (.footprint) = d79ab5288afaf8bb197915878a4531422e9bf4068ab56079c90e5379e51f7c92
|
SHA256 (.footprint) = d79ab5288afaf8bb197915878a4531422e9bf4068ab56079c90e5379e51f7c92
|
||||||
SHA256 (volume_key-0.3.12.tar.xz) = 6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b
|
SHA256 (volume_key-0.3.12.tar.xz) = 6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b
|
||||||
|
@ -5,14 +5,24 @@
|
|||||||
|
|
||||||
name=volume_key
|
name=volume_key
|
||||||
version=0.3.12
|
version=0.3.12
|
||||||
release=1
|
release=2
|
||||||
source=(https://releases.pagure.org/$name/$name-$version.tar.xz)
|
source=(https://releases.pagure.org/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
autoreconf -fiv
|
||||||
|
find . -name ".pyc" -delete
|
||||||
|
|
||||||
|
export CFLAGS+=" $(/usr/bin/python3-config --includes)"
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--with-python3 \
|
||||||
|
--with-python=no \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user