forked from ports/contrib
amsn: 0.95 -> 0.96
This commit is contained in:
parent
f0dca8d8f4
commit
07187a4777
1137
amsn/.footprint
1137
amsn/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,2 @@
|
||||
608e3c3e9c9f24609714882e1f32e03b amsn-0.95-makefile.patch
|
||||
d0ea6e858601133c5abbfbbb5c84c8da amsn-0.95.tar.bz2
|
||||
ee68601d8b7687b2b6fc8e9a4eb67c2f amsn-0.96.diff
|
||||
3df6b0d34ef1997a47c0b8af29b2547a amsn-0.96.tar.bz2
|
||||
|
23
amsn/Pkgfile
23
amsn/Pkgfile
@ -6,25 +6,28 @@
|
||||
# Depends on: tk
|
||||
|
||||
name=amsn
|
||||
version=0.95
|
||||
release=5
|
||||
source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2 \
|
||||
$name-$version-makefile.patch)
|
||||
version=0.96
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2
|
||||
$name-$version.diff)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 < $SRC/$name-$version.diff
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-nls
|
||||
--disable-nls \
|
||||
--with-tls
|
||||
|
||||
patch -p0 -i $SRC/$name-$version-makefile.patch
|
||||
make && make DESTDIR=$PKG install
|
||||
|
||||
rm -fr \
|
||||
$PKG/usr/share/amsn/{icons, lang/LANG-HOWTO} \
|
||||
$PKG/usr/share/amsn/utils/BWidget-1.7.0/{CHANGES.txt, ChangeLog, LICENSE.txt, Makefile.in, README.txt} \
|
||||
$PKG/usr/share/amsn/{skins/default/winicons, utils/snit0.97/license.txt}
|
||||
rm -rf \
|
||||
$PKG/usr/share/icons \
|
||||
$PKG/usr/share/amsn/{icons,docs,lang} \
|
||||
$PKG/usr/share/amsn/{AGREEMENT,CREDITS,FAQ,GNUGPL} \
|
||||
$PKG/usr/share/amsn/{HELP,INSTALL,README,TODO}
|
||||
|
||||
chown -R root:root $PKG
|
||||
}
|
||||
|
47
amsn/amsn-0.96.diff
Normal file
47
amsn/amsn-0.96.diff
Normal file
@ -0,0 +1,47 @@
|
||||
diff -Nru amsn-0.96.orig/Makefile.in amsn-0.96/Makefile.in
|
||||
--- amsn-0.96.orig/Makefile.in 2007-02-27 19:06:37.000000000 +1000
|
||||
+++ amsn-0.96/Makefile.in 2007-02-27 19:35:56.000000000 +1000
|
||||
@@ -142,27 +142,27 @@
|
||||
|
||||
|
||||
install:: $(FILES_TO_INSTALL)
|
||||
- rm -Rf $(dstdir)/$(PACKAGE)
|
||||
- mkdir --parents $(dstdir)/$(PACKAGE)
|
||||
- mkdir -p $(slnkdir)
|
||||
+ rm -Rf $(DESTDIR)/$(dstdir)/$(PACKAGE)
|
||||
+ mkdir --parents $(DESTDIR)/$(dstdir)/$(PACKAGE)
|
||||
+ mkdir -p $(DESTDIR)/$(slnkdir)
|
||||
@for p in $?; do \
|
||||
- cp -Rf --parents $(srcdir)/$$p $(dstdir)/$(PACKAGE); \
|
||||
+ cp -Rf --parents $(srcdir)/$$p $(DESTDIR)/$(dstdir)/$(PACKAGE); \
|
||||
done
|
||||
- find $(dstdir)/$(PACKAGE) -name CVS -print | xargs rm -Rf
|
||||
- @for p in $(FILES_TO_EXCLUDE); do \
|
||||
- rm -Rf $(dstdir)/$(PACKAGE)/$$p; \
|
||||
+ find $(DESTDIR)/$(dstdir)/$(PACKAGE) -name CVS -print | xargs rm -Rf
|
||||
+ @for p in $(DESTDIR)/$(FILES_TO_EXCLUDE); do \
|
||||
+ rm -Rf $(DESTDIR)/$(dstdir)/$(PACKAGE)/$$p; \
|
||||
done
|
||||
|
||||
- ln -sf $(dstdir)/$(PACKAGE)/amsn $(slnkdir)/amsn
|
||||
- ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(slnkdir)/amsn-remote
|
||||
- ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(slnkdir)/amsn-remote-CLI
|
||||
-
|
||||
- chmod -R +rx $(dstdir)/$(PACKAGE)
|
||||
- mkdir -p $(dstdir)/icons/hicolor
|
||||
- cp -R $(srcdir)/icons/* $(dstdir)/icons/hicolor
|
||||
+ ln -sf $(dstdir)/$(PACKAGE)/amsn $(DESTDIR)/$(slnkdir)/amsn
|
||||
+ ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(DESTDIR)/$(slnkdir)/amsn-remote
|
||||
+ ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(DESTDIR)/$(slnkdir)/amsn-remote-CLI
|
||||
+
|
||||
+ chmod -R +rx $(DESTDIR)/$(dstdir)/$(PACKAGE)
|
||||
+ mkdir -p $(DESTDIR)/$(dstdir)/icons/hicolor
|
||||
+ cp -R $(srcdir)/icons/* $(DESTDIR)/$(dstdir)/icons/hicolor
|
||||
|
||||
- mkdir -p $(dstdir)/applications
|
||||
- cp $(srcdir)/amsn.desktop $(dstdir)/applications
|
||||
+ mkdir -p $(DESTDIR)/$(dstdir)/applications
|
||||
+ cp $(srcdir)/amsn.desktop $(DESTDIR)/$(dstdir)/applications
|
||||
|
||||
rpm-install:: $(FILES_TO_INSTALL)
|
||||
rm -Rf $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)
|
Loading…
x
Reference in New Issue
Block a user