2009-02-24 07:22:29 +00:00
|
|
|
# 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."
|
|
|
|
|
2010-01-07 21:03:52 +00:00
|
|
|
Add_dependency run libuuid-devel
|
|
|
|
Add_dependency run libblkid-devel
|
2009-02-24 07:22:29 +00:00
|
|
|
Add_dependency run e2fsprogs-libs
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-05-26 13:45:42 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/{bin,lib}
|
2009-03-11 05:31:56 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/share/info
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/man/man1
|
2009-02-24 07:22:29 +00:00
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
2009-03-18 09:02:08 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
2009-02-24 07:22:29 +00:00
|
|
|
for f in compile_et mk_cmds; do
|
2009-03-18 09:02:08 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/${f}* \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
2009-02-24 07:22:29 +00:00
|
|
|
done
|
2009-03-18 09:02:08 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/et ${DESTDIR}/usr/share
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/ss ${DESTDIR}/usr/share
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/info/libext2fs.info* \
|
|
|
|
${DESTDIR}/usr/share/info
|
2009-02-24 07:22:29 +00:00
|
|
|
}
|