apr-util: clean $XBPS_CROSS_BASE cruft
This commit is contained in:
parent
b96361851a
commit
664007d532
1 changed files with 5 additions and 2 deletions
|
@ -13,10 +13,10 @@ hostmakedepends="libtool apr-devel"
|
||||||
makedepends="zlib-devel libressl-devel apr-devel db-devel expat-devel
|
makedepends="zlib-devel libressl-devel apr-devel db-devel expat-devel
|
||||||
gdbm-devel libldap-devel libmysqlclient-devel unixodbc-devel
|
gdbm-devel libldap-devel libmysqlclient-devel unixodbc-devel
|
||||||
postgresql-libs-devel sqlite-devel"
|
postgresql-libs-devel sqlite-devel"
|
||||||
short_desc="The Apache Portable Runtime Utility Library"
|
short_desc="Apache Portable Runtime Utility Library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
homepage="http://apr.apache.org/"
|
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
homepage="http://apr.apache.org/"
|
||||||
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
||||||
|
|
||||||
|
@ -46,6 +46,9 @@ post_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove static libs
|
# remove static libs
|
||||||
find ${DESTDIR} -type f -name \*.a -delete
|
find ${DESTDIR} -type f -name \*.a -delete
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -i -e "s,$XBPS_CROSS_BASE,,g" "$DESTDIR/usr/bin/apu-1-config"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
apr-util-devel_package() {
|
apr-util-devel_package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue