--- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/e2fsprogs/PlamoBuild.e2fsprogs-1.43.3 2017-04-01 21:11:11.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.43.3.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=e2fsprogs +vers=1.43.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-elf-shlibs --disable-libuuid --disable-libblkid + --disable-fsck --disable-e2initrd-helper --disable-uuidd + --with-root-prefix=" +DOCS="INSTALL.elfbin RELEASE-NOTES README NOTICE ABOUT-NLS INSTALL + SUBMITTING-PATCHES" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +38,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p configure{,.orig} + sed -i '/^ root_libdir=/s@$libdir@/lib64@g' configure + fi + cp -p misc/mke2fs.conf.in{,.orig} + sed -i 's@,dir_index@@g' misc/mke2fs.conf.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,6 +71,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install-libs DESTDIR=$P fi done touch $W/i.et @@ -70,9 +81,23 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/et usr/share/ss + tar rvpf $pkg.tar -C $P etc/mke2fs.conf + tar rvpf $pkg.tar -C $P usr/share/info/libext2fs.info.gz tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz cleanup