dzen2
This commit is contained in:
parent
ad10114fb8
commit
2c8d2b5c25
|
@ -1,28 +0,0 @@
|
|||
# Tanım: General purpose messaging, notification and menuing program for X11.
|
||||
# URL: https://github.com/robm/dzen
|
||||
# Maintainer: 6c37 Team, https://github.com/6c37/crux-ports-git/issues
|
||||
# Gerekler: xorg-libx11 xorg-libxpm xorg-libxinerama xorg-libxft
|
||||
|
||||
isim=dzen
|
||||
surum=git
|
||||
devir=1
|
||||
kaynak=(https://github.com/robm/dzen/archive/master.tar.gz::$isim-$surum.tar.gz)
|
||||
|
||||
derle() {
|
||||
cd "$SRC"/$isim-master
|
||||
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
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
# Tanım: X11 için genel amaçlı mesajlaşma, bildirim ve menüleme programı
|
||||
# URL: https://github.com/robm/dzen
|
||||
# Paketçi: Cihan_Alkan
|
||||
# Gerekler: xorg-libx11 xorg-libxpm xorg-libxinerama xorg-libxft
|
||||
# Grup: sistem
|
||||
|
||||
isim=dzen2
|
||||
surum=0.9.5.14
|
||||
devir=1
|
||||
kaynak=()
|
||||
|
||||
derle() {
|
||||
adres="https://github.com/robm/dzen.git"
|
||||
git_indir ${adres} ${isim}
|
||||
|
||||
cd ${isim}
|
||||
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
|
||||
make -C gadgets X11INC=/usr/include X11LIB=/usr/lib
|
||||
|
||||
make PREFIX=/usr MANPREFIX=/usr/man DESTDIR="${PKG}" install
|
||||
make -C gadgets PREFIX=/usr MANPREFIX=/usr/man DESTDIR="${PKG}" install
|
||||
install -Dm 644 LICENSE -t "${PKG}/usr/share/licenses/${isim}"
|
||||
install -Dm 644 README* -t "${PKG}/usr/share/doc/${isim}"
|
||||
}
|
Loading…
Reference in New Issue