nspr: set noarch to -devel subpkg.
This commit is contained in:
parent
8b4a970ca7
commit
c772a6cc96
|
@ -1,5 +1,6 @@
|
|||
# Template file for 'nspr-devel'.
|
||||
#
|
||||
noarch=yes
|
||||
depends="nspr-${version}_${revision}"
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
@ -9,6 +10,5 @@ long_desc="${long_desc}
|
|||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/bin usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nspr'
|
||||
pkgname=nspr
|
||||
version=4.9.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_script="./mozilla/nsprpub/configure"
|
||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
||||
|
@ -39,4 +39,7 @@ post_install() {
|
|||
chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc
|
||||
cd ${DESTDIR}/usr/lib/pkgconfig && \
|
||||
ln -s nspr.pc mozilla-nspr.pc
|
||||
|
||||
# Remove static libs.
|
||||
rm -f ${DESTDIR}/usr/lib/*.a
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue