void-packages/srcpkgs/libarchive/libarchive-devel.template

26 lines
676 B
Text
Raw Normal View History

# Template file for 'libarchive-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run acl-devel
Add_dependency run zlib-devel
Add_dependency run bzip2-devel
Add_dependency run liblzma-devel
Add_dependency run openssl-devel
Add_dependency run expat-devel
Add_dependency run libarchive
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/libarchive.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}