4 # selector is a simple shell command for selection of strings with a
5 # dynamic pattern-matching.
7 # Copyright (c) 2009 Francois Fleuret
8 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
10 # This file is part of selector.
12 # selector is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License version 3 as
14 # published by the Free Software Foundation.
16 # selector is distributed in the hope that it will be useful, but
17 # WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 # General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with selector. If not, see <http://www.gnu.org/licenses/>.
27 TMP=`mktemp -d /tmp/deb.XXXXXX`
29 for d in DEBIAN usr/bin usr/man/man1; do
33 cat > ${TMP}/DEBIAN/control <<EOF
36 Maintainer: Francois Fleuret <francois@fleuret.org>
37 Description: A command line dynamic string-matching
39 Depends: libncurses5, libstdc++6, libc6, libgcc1
42 cp ./selector ${TMP}/usr/bin
43 cp ./selector.1 ${TMP}/usr/man/man1
45 dpkg-deb --build ${TMP} selector_${VERSION}_i386.deb