2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: General purpose messaging, notification and menuing program for X11.
|
2017-09-08 06:38:52 +02:00
|
|
|
|
# URL: https://github.com/robm/dzen
|
|
|
|
|
# Maintainer: 6c37 Team, https://github.com/6c37/crux-ports-git/issues
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Gerekler: xorg-libx11 xorg-libxpm xorg-libxinerama xorg-libxft
|
2017-09-08 06:38:52 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=dzen
|
|
|
|
|
surum=git
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/robm/dzen/archive/master.tar.gz::$isim-$surum.tar.gz)
|
2017-09-08 06:38:52 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$SRC"/$isim-master
|
2017-09-08 06:38:52 +02:00
|
|
|
|
sed -i 's|DZEN_XMP|DZEN_XPM|g' main.c
|
|
|
|
|
|
|
|
|
|
CFLAGS="$CFLAGS -Wall -Os \${INCS} -DVERSION=\\\"\${VERSION}\\\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`"
|
|
|
|
|
LIBS=" -L/usr/lib -lc -lXft -lXpm -lXinerama -lX11"
|
|
|
|
|
|
|
|
|
|
echo "CFLAGS=$CFLAGS" >>config.mk
|
|
|
|
|
echo "LIBS=$LIBS" >>config.mk
|
|
|
|
|
echo "LDFLAGS=$LDFLAGS $LIBS" >>config.mk
|
|
|
|
|
|
|
|
|
|
make X11INC=/usr/include X11LIB=/usr/lib
|
|
|
|
|
(cd gadgets && make X11INC=/usr/include X11LIB=/usr/lib)
|
|
|
|
|
|
|
|
|
|
make PREFIX=/usr MANPREFIX=/usr/man DESTDIR="$PKG" install
|
|
|
|
|
(cd gadgets && make PREFIX=/usr MANPREFIX=/usr/man DESTDIR="$PKG" install)
|
|
|
|
|
install -Dm0644 LICENSE "$PKG"/usr/share/licenses/dzen2/COPYING
|
|
|
|
|
}
|