32 lines
932 B
Plaintext
32 lines
932 B
Plaintext
# Template file for 'e2fsprogs-devel'.
|
|
#
|
|
short_desc="${short_desc} (development files)"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
Add_dependency run e2fsprogs-libs
|
|
|
|
do_install()
|
|
{
|
|
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
|
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
|
|
|
mkdir -p ${destdir}/lib
|
|
mkdir -p ${destdir}/usr/lib
|
|
mkdir -p ${destdir}/usr/bin
|
|
mkdir -p ${destdir}/usr/share/info
|
|
mkdir -p ${destdir}/usr/share/man/man1
|
|
|
|
mv ${origdir}/usr/include ${destdir}/usr
|
|
mv ${origdir}/lib/*.*a ${destdir}/lib
|
|
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
|
|
for f in compile_et mk_cmds; do
|
|
mv ${origdir}/bin/${f} ${destdir}/usr/bin
|
|
mv ${origdir}/usr/share/man/man1/${f}* \
|
|
${destdir}/usr/share/man/man1
|
|
done
|
|
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
|
mv ${origdir}/usr/share/info/libext2fs.info* ${destdir}/usr/share/info
|
|
}
|