GLUED: renamed packages to rules, cfg_dir_packages to cfg_dir_rules.

This commit is contained in:
Ricardo Martins
2014-02-02 09:53:29 +00:00
parent 6420cb1823
commit eaf0c7d347
354 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,57 @@
version=\
(
"4.6.1"
)
url=\
(
"ftp://ftp.dante.de/pub/tex/graphics/gnuplot/${version}/gnuplot-${version}.tar.gz"
)
md5=\
(
"4c9a06461f402482c30cf94e267eb877"
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-history-file \
--without-x \
--disable-raise-console \
--disable-mouse \
--without-tutorial \
--without-demo \
--disable-demo \
--without-row-help \
--disable-history-file \
--without-lisp-files \
--disable-wxwidgets \
--without-lua \
--without-latex \
--without-cairo
sed -i "s#demo ##g" Makefile
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_target_strip -v "$cfg_dir_toolchain_sysroot/usr/bin/gnuplot" -o "$cfg_dir_rootfs/usr/bin/gnuplot"
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/share/gnuplot" "$cfg_dir_rootfs/usr/share"
}