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

40
rules/pcre/default.bash Normal file
View File

@@ -0,0 +1,40 @@
version=\
(
'8.21'
)
url=\
(
"http://downloads.sourceforge.net/project/pcre/pcre/$version/pcre-$version.tar.bz2"
)
md5=\
(
'0a7b592bea64b7aa7f4011fc7171a730'
)
configure()
{
"../pcre-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install-strip
}
target_install()
{
for l in pcre pcrecpp pcreposix; do
cp -a "$cfg_dir_toolchain_sysroot/usr/lib"/lib$l.so* "$cfg_dir_rootfs"/lib
done
}