cdk: updated download URL.
This commit is contained in:
parent
f1d49eba03
commit
346e4b60a7
@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"5.0-20120323"
|
'5.0-20140118'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"ftp://invisible-island.net/cdk/cdk.tar.gz"
|
"ftp://invisible-island.net/cdk/cdk-$version.tgz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"929969d06ce034e862976bb7d1a36b25"
|
'd2687e5558b6d6be5fd39328e5c86033'
|
||||||
)
|
)
|
||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
@ -20,34 +20,34 @@ requires=\
|
|||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
# --target="${cfg_target_canonical}" \
|
# --target="${cfg_target_canonical}" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
--host="${cfg_target_canonical}" \
|
--host="${cfg_target_canonical}" \
|
||||||
--build="${cfg_host_canonical}" \
|
--build="${cfg_host_canonical}" \
|
||||||
--target="${cfg_target_canonical}" \
|
--target="${cfg_target_canonical}" \
|
||||||
--with-ncursesw \
|
--with-ncursesw \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make install
|
$cmd_make install
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
|
||||||
if [ -L "$f" ]; then
|
if [ -L "$f" ]; then
|
||||||
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
|
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
|
||||||
else
|
else
|
||||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user