cleaned up ftgl's directories and made use of aclocal --print-ac-dir to locate aclocal.

This commit is contained in:
Scott McCreary
2011-03-24 18:20:45 +00:00
parent 459dce26f2
commit 46544266bb

View File

@@ -8,16 +8,17 @@ DEPEND="pkgconfig >= 0.23"
BUILD {
cd ftgl-2.1.3~rc5
cp /boot/common/share/aclocal/libtool.m4 m4
cp /boot/common/share/aclocal/ltoptions.m4 m4
cp /boot/common/share/aclocal/ltversion.m4 m4
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
cp `aclocal --print-ac-dir`/libtool.m4 m4
cp `aclocal --print-ac-dir`/ltoptions.m4 m4
cp `aclocal --print-ac-dir`/ltversion.m4 m4
cp `aclocal --print-ac-dir`/ltsugar.m4 m4
cp `aclocal --print-ac-dir`/lt~obsolete.m4 m4
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.in"
libtoolize --copy --force --install
aclocal -I m4
./autogen.sh
./configure --prefix=/boot/common
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc
make
}