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