mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: imlib2 xfishtank
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
name=imlib2
|
||||
revision=1
|
||||
from_source=imlib2
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils libtool pkgconfig"
|
||||
deps="base freetype libx11 libice libpng libjpeg-turbo bzip2 zlib libxext"
|
||||
|
||||
build() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
name=xfishtank
|
||||
revision=1
|
||||
from_source=xfishtank
|
||||
imagedeps="base-devel imake"
|
||||
hostdeps="xgcc xbinutils libtool pkgconfig"
|
||||
deps="base imlib2"
|
||||
|
||||
build() {
|
||||
# the build system sucks, so we will directly call the compiler and ignore it!
|
||||
cp -rp ${source_dir}/* .
|
||||
|
||||
gcc makeh.c -o makeh
|
||||
|
||||
./makeh fishmaps/?*.h > xfishy.h
|
||||
x86_64-astral-gcc -Dlinux -I./fishmaps -lX11 -lImlib2 -lm xfish.c medcut.c -o xfishtank
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p ${dest_dir}/usr/bin/
|
||||
cp -v xfishtank ${dest_dir}/usr/bin/xfishtank
|
||||
}
|
||||
Reference in New Issue
Block a user